if ("undefi\x6e\x65d" == typeof(RadWindowNamespace)) {
    RadWindowNamespace = new Object();
}
Object.Extend = function(object, O2k) {
    for (var l2k in O2k) {
        object[l2k] = O2k[l2k];
    }
};
if (typeof(window.RadControlsNamespace) == "undefined") {
    window.RadControlsNamespace = new Object();
}
;
RadControlsNamespace.AppendStyleSheet = function(i2k, I2k, o2l) {
    if (!o2l) {
        return;
    }
    if (!i2k) {
        document.write("<" + "li\x6e\153" + " rel=\047\x73tyle\x73\x68eet\x27 type=\x27\x74ex\x74\x2fcs\x73\047\x20href\x3d\047" + o2l + "\047\x20\057>");
    } else {
        var O2l = document.createElement("LINK");
        O2l.rel = "stylesheet";
        O2l.type = "text/css";
        O2l.href = o2l;
        document.getElementById(I2k + "StyleSheet\x48\x6flde\x72").appendChild(O2l);
    }
};
RadWindowNamespace.o1o = function(I15) { return I15.replace( /^\s{1,}/ig , "").replace( /\s{1,}$/ig , ""); };
RadWindowNamespace.I1n = function(text) {
    for (var i = 1; i < arguments.length; i++) {
        text = text.replace(new RegExp("\134\x7b" + (i - 1) + "\134}", "ig"), arguments[i]);
    }
    return text;
};
RadWindowNamespace.i1n = function(I11, l2l) {
    var i2l = new Array("%", "<", "\x3e", "\041", "\042", "\x23", "$", "\x26", "\x27", "(", ")", "\x2c", ":", "\x3b", "=", "?", "[", "\x5c", "]", "^", "`", "\x7b", "\174", "}", "\x7e", "+");
    var I2l = I11;
    if (l2l) {
        for (var i = 0; i < i2l.length; i++) {
            I2l = I2l.replace(new RegExp("\x5cx" + i2l[i].charCodeAt(0).toString(16), "\x69g"), "\x25" + i2l[i].charCodeAt(0).toString(16));
        }
    } else {
        for (var i = i2l.length - 1; i >= 0; i--) {
            I2l = I2l.replace(new RegExp("%" + i2l[i].charCodeAt(0).toString(16), "\x69g"), i2l[i]);
        }
    }
    return I2l;
};
RadWindowNamespace.o2m = { };
RadWindowNamespace.l1a = function(O2m, Oz) {
    if (O2m) {
        Oz.TopOffset = parseInt(Oz.style.top) - RadWindowNamespace.O9(document);
        Oz.l2m = parseInt(Oz.style.left) - RadWindowNamespace.l9(document);
        var i2m = window.setInterval(function() { RadWindowNamespace.I2m(Oz); }, 100);
        RadWindowNamespace.o2m[i2m] = Oz;
    } else {
        var o2n = null;
        var O2n = RadWindowNamespace.o2m;
        for (var name in O2n) {
            if (O2n[name] == Oz) {
                o2n = name;
                break;
            }
        }
        if (null != o2n) {
            window.clearInterval(o2n);
            RadWindowNamespace.o2m[o2n] = null;
        }
        Oz.TopOffset = null;
        Oz.l2m = null;
    }
};
RadWindowNamespace.I2m = function(Oz) {
    var left = (Oz.l2m != null) ? Oz.l2m + RadWindowNamespace.l9(document) : parseInt(Oz.style.left);
    var top = (Oz.TopOffset != null) ? Oz.TopOffset + RadWindowNamespace.O9(document) : parseInt(Oz.style.top);
    if (Oz.MoveTo) Oz.MoveTo(left, top);
};
RadWindowNamespace.I16 = function(l2n) {
    var Oh = GetRadWindowManager();
    var i2n = Oh.O1l();
    if (l2n.I3 && l2n.I3.style) {
        l2n.I3.style.zIndex = i2n;
    }
    l2n.style.zIndex = i2n;
};
RadWindowNamespace.O18 = function(g, overflow) {
    if (g) {
        document.body.style.overflow = overflow ? overflow : "";
        document.documentElement.style.overflow = overflow ? overflow : "";
    } else {
        document.body.style.overflow = "hidden";
        document.documentElement.style.overflow = "hidden";
    }
};
RadWindowNamespace.o9 = function(ih) {
    if (!ih) ih = window;
    var i1 = ih.document;
    var I4 = { };
    if (document.all) {
        if (document.documentElement && document.documentElement.clientHeight) {
            I4.width = i1.documentElement.clientWidth;
            I4.height = i1.documentElement.clientHeight;
        } else {
            I4.width = i1.body.clientWidth;
            I4.height = i1.body.clientHeight;
        }
    } else {
        I4.width = window.innerWidth ? parseInt(ih.innerWidth) : parseInt(i1.body.clientWidth);
        I4.height = window.innerHeight ? parseInt(ih.innerHeight) : parseInt(i1.body.clientHeight);
    }
    return I4;
};
RadWindowNamespace.iw = function(ih) {
    if (!ih) ih = window;
    i1 = ih.document;
    var I4 = { };
    if (i1.all && "\103S\x53\x31Compa\x74" == i1.compatMode && !ih.opera) {
        I4.width = i1.documentElement.clientWidth;
        I4.height = i1.documentElement.clientHeight;
    } else {
        I4.width = window.innerWidth ? parseInt(ih.innerWidth) : parseInt(i1.body.clientWidth);
        I4.height = window.innerHeight ? parseInt(ih.innerHeight) : parseInt(i1.body.clientHeight);
    }
    I4.top = RadWindowNamespace.O9(i1);
    I4.left = RadWindowNamespace.l9(i1);
    return I4;
};
RadWindowNamespace.O9 = function(I2n) {
    if (I2n.documentElement && I2n.documentElement.scrollTop) {
        return I2n.documentElement.scrollTop;
    } else {
        return I2n.body.scrollTop;
    }
};
RadWindowNamespace.l9 = function(I2n) {
    if (I2n.documentElement && I2n.documentElement.scrollLeft) {
        return I2n.documentElement.scrollLeft;
    } else {
        return I2n.body.scrollLeft;
    }
};
RadWindowNamespace.o4 = {
    o2o: function(o2g) {
        var computedStyle = this.O2o(o2g);
        return o2g.offsetWidth + this.l2o(computedStyle);
    },
    i2o: function(o2g) {
        var computedStyle = this.O2o(o2g);
        return o2g.offsetHeight + this.I2o(computedStyle);
    },
    o2p: function(o2g) {
        var computedStyle = this.O2o(o2g);
        return o2g.offsetWidth - this.O2p(computedStyle);
    },
    l2p: function(o2g) {
        var computedStyle = this.O2o(o2g);
        return o2g.offsetHeight - this.i2p(computedStyle);
    },
    O4: function(o2g, width) {
        var computedStyle = this.O2o(o2g);
        if (computedStyle) width -= this.l2o(computedStyle);
        if (this.I2p()) {
            if (computedStyle) width -= this.O2p(computedStyle);
        }
        if (width < 0) {
            o2g.style.width = "\x61uto";
        } else {
            o2g.style.width = width + "\x70x";
        }
    },
    l4: function(o2g, height) {
        var o2q = height;
        var computedStyle = this.O2o(o2g);
        height -= this.I2o(computedStyle);
        var O2q = 0;
        if (this.I2p()) {
            O2q = this.i2p(computedStyle);
            height -= O2q;
        }
        o2g.style.height = height + "\x70x";
        var l2q = this.i2o(o2g);
        if (l2q != 0 && l2q != o2q) {
            var i2q = (l2q - o2q);
            var I2q = (o2q - i2q);
            if (I2q > 0) {
                o2g.style.height = (I2q - O2q) + "\x70x";
            }
        }
    },
    o2r: function(value) {
        var l1q = parseInt(value);
        return isNaN(l1q) ? 0 : l1q;
    },
    O2r: function(style) {
        if (!style) return 0;
        var value = 0;
        for (var i = 1; i < arguments.length; i++) {
            value += this.o2r(style[arguments[i]]);
        }
        return value;
    },
    O2p: function(style) { return this.O2r(style, "\x62orderLe\x66\x74Widt\x68", "padding\x4c\x65ft", "\x70addin\x67\x52ight", "borde\x72\x52ightW\x69\x64th"); },
    i2p: function(style) { return this.O2r(style, "\x62\157r\x64\x65rTop\x57\x69dth", "paddingTop", "pa\x64\x64ingBot\x74\x6fm", "bor\x64\x65rBotto\x6d\x57idt\x68"); },
    l2o: function(style) { return this.O2r(style, "margin\x4c\x65ft", "\x6darginRight"); },
    I2o: function(style) { return this.O2r(style, "marginT\x6f\x70", "\x6dargin\x42\x6fttom"); },
    O2o: function(o2g) {
        if (o2g.currentStyle) {
            return o2g.currentStyle;
        } else if (document.defaultView && document.defaultView.getComputedStyle) {
            return document.defaultView.getComputedStyle(o2g, null);
        } else {
            return null;
        }
    },
    I2p: function() { return true; }
};
RadWindowNamespace.i4 = function(o2g) {
    if (!o2g) o2g = this;
    var left = 0;
    var top = 0;
    var width = RadWindowNamespace.o4.o2o(o2g);
    var height = RadWindowNamespace.o4.i2o(o2g);
    while (o2g.offsetParent) {
        left += o2g.offsetLeft;
        top += o2g.offsetTop;
        o2g = o2g.offsetParent;
    }
    if (o2g.x) left = o2g.x;
    if (o2g.y) top = o2g.y;
    var Iv = { };
    Iv.left = RadWindowNamespace.o2k(left, 0);
    Iv.top = RadWindowNamespace.o2k(top, 0);
    Iv.width = RadWindowNamespace.o2k(width, 0);
    Iv.height = RadWindowNamespace.o2k(height, 0);
    return Iv;
};
RadWindowNamespace.In = function(l2r) {
    l2r = l2r.toLowerCase();
    if ("ie" == l2r) l2r = "msi\x65";
    else if ("mozill\x61" == l2r || "firefox" == l2r) l2r = "\x63\x6fmpatib\x6c\x65";
    var i2r = navigator.userAgent.toLowerCase();
    I2r = i2r.indexOf(l2r) + 1;
    if (I2r) return true;
    else return false;
};
RadWindowNamespace.I1u = function(I2n) { return (null != document.readyState && "complete" != document.readyState) ? false : true; };
RadWindowNamespace.o2k = function(o2s, defaultValue) {
    if (!defaultValue) defaultValue = 0;
    var O2s = parseInt(o2s);
    return (isNaN(O2s) ? defaultValue : O2s);
};
RadWindowNamespace.i2 = function(e) {
    if (null == e) return null;
    return (e.srcElement ? e.srcElement : e.target);
};
RadWindowNamespace.RadUtil_CancelEvent = function(F) {
    if (!F) return;
    F.returnValue = false;
    F.cancelBubble = true;
    if (F.stopPropagation) {
        F.stopPropagation();
    }
    if (F.preventDefault) {
        F.preventDefault();
    }
    return false;
};
RadWindowNamespace.C = function(o2g, os, l2s) {
    os = RadWindowNamespace.i2s(os);
    if (o2g.addEventListener) {
        o2g.addEventListener(os, l2s, false);
    } else if (o2g.attachEvent) {
        o2g.attachEvent(os, l2s);
    }
};
RadWindowNamespace.I1 = function(o2g, os, l2s) {
    os = RadWindowNamespace.i2s(os);
    if (o2g.addEventListener) {
        o2g.removeEventListener(os, l2s, false);
    } else if (o2g.detachEvent) {
        o2g.detachEvent(os, l2s);
    }
};
RadWindowNamespace.I2s = function(text, value) {
    if (typeof(value) != "s\x74ring") return false;
    return (0 == text.indexOf(value));
};
RadWindowNamespace.i2s = function(os) {
    os = os.toLowerCase();
    if (document.addEventListener) {
        if (RadWindowNamespace.I2s(os, "on")) return os.substr(2);
        else return os;
    } else if (document.attachEvent && !RadWindowNamespace.I2s(os, "\x6fn")) {
        return "\x6fn" + os;
    } else {
        return os;
    }
};
;
;
RadWindowNamespace.O = null;
RadWindowNamespace.o = function(I, A, U, Z, z) {
    if (!I || I.W) return;
    Object.Extend(I, RadWindowNamespace.w);
    I.V = (z) ? true : false;
    if (Z != false) {
        Object.Extend(I, RadWindowNamespace.v);
        I.T();
    }
    I.onmouseout = function(e) {
        if ("" != this.style.cursor) {
            this.style.cursor = "";
        }
    };
    I.onmousedown = function(e) {
        if (!this.t) return;
        if (!e) e = window.event;
        if (this.S) this.S();
        if (!this.DragMode) {
            if (this.R && this.r) {
                this.DragMode = 2;
                this.Q(e);
            } else if (this.V && this.P(e)) {
                this.DragMode = 1;
            }
        }
        return RadWindowNamespace.RadUtil_CancelEvent(e);
    };
    I.onmouseup = function(e) {
        this.DragMode = "";
        RadWindowNamespace.N();
        if (this.n) {
            this.n(e);
        }
    };
    I.onmousemove = function(e) {
        if (!e) e = window.event;
        if (this.DragMode) {
            this.Q(e);
            return;
        }
        if (this.M()) return;
        if (!this.m() && null != this.L) {
            this.r = this.L(e);
            this.style.cursor = this.r;
        }
    };
    if (U != false && document.all && !window.opera) {
        RadWindowNamespace.l(I);
    }
};
RadWindowNamespace.w = {
    OnDragStart: null, K: null, n: null, k: null, J: null, H: null, V: true, R: true, h: true, DragMode: null, t: true, G: function(g) { this.t = g; },
    Q: function(F) {
        if (this.f) return;
        this.D = F.clientX;
        this.d = F.clientY;
        RadWindowNamespace.C(document, "\157n\x6d\x6fuseu\x70", RadWindowNamespace.c);
        RadWindowNamespace.C(document, "\x6fnmousemove", RadWindowNamespace.B);
        RadWindowNamespace.O = this;
        if (this.h) {
            this.o0 = RadWindowNamespace.O0();
            this.o0.Show(this.l0());
        }
        if (this.OnDragStart) {
            this.OnDragStart(F);
        }
        this.i0 = this.style.zIndex;
        this.style.zIndex = 50000;
        RadWindowNamespace.I0(this);
        this.o0.style.zIndex = this.style.zIndex + 1;
        this.f = true;
    },
    o1: function(F) {
        if (this.o0) {
            var O1 = this.o0.l0();
            if (1 == this.DragMode) {
                this.MoveTo(O1.left, O1.top);
            } else if (2 == this.DragMode) {
                this.SetSize(O1.width, O1.height);
                this.MoveTo(O1.left, O1.top);
            }
        }
        this.l1(F);
        if (this.K) {
            this.K(F);
        }
    },
    l1: function(F) {
        RadWindowNamespace.O = null;
        this.f = false;
        RadWindowNamespace.N();
        var i1 = document;
        RadWindowNamespace.I1(i1, "o\x6emouse\x75\x70", RadWindowNamespace.c);
        RadWindowNamespace.I1(i1, "o\x6e\x6dousemo\x76\x65", RadWindowNamespace.B);
        if (this.o0) {
            this.o0.Hide();
            this.o0 = null;
        }
        this.DragMode = "";
        this.style.zIndex = this.i0;
        this.Show();
    },
    o2: function(e) {
        if (1 == this.DragMode) {
            this.W(e);
        } else if (2 == this.DragMode) {
            this.O2(e);
        }
        this.D = e.clientX;
        this.d = e.clientY;
    },
    P: function(F) {
        var l2 = RadWindowNamespace.i2(F);
        try {
            while (l2 && null != l2.getAttribute) {
                if (null != l2.getAttribute("g\x72ip")) return l2;
                else l2 = l2.parentNode;
            }
        } catch(e) {
            ;
        }
        return null;
    },
    W: function(F) {
        var I2 = F.clientX - this.D;
        var o3 = F.clientY - this.d;
        this.o0.O3(I2, o3);
    },
    O3: function(I2, o3) {
        if (!this.Left) {
            this.Left = parseInt(this.style.left);
        }
        if (!this.Top) {
            this.Top = parseInt(this.style.top);
        }
        this.MoveTo(this.Left + I2, this.Top + o3);
    },
    MoveTo: function(x, y) {
        if (isNaN(x) || isNaN(y)) return;
        this.Left = x;
        this.Top = y;
        this.style.position = "absolute";
        this.style.left = this.Left + "px";
        this.style.top = this.Top + "\x70x";
        if (this.l3) {
            this.i3();
            this.l3 = false;
        }
        if (this.I3) {
            this.I3.style.top = this.style.top;
            this.I3.style.left = this.style.left;
        }
    },
    SetSize: function(width, height, fireEvent) {
        width = parseInt(width);
        height = parseInt(height);
        if (width < 5 || height < 5) return;
        if (!isNaN(width) && width >= 0) {
            RadWindowNamespace.o4.O4(this, width);
            if (this.I3) {
                RadWindowNamespace.o4.O4(this.I3, width);
            }
        }
        if (!isNaN(height) && height >= 0) {
            RadWindowNamespace.o4.l4(this, height);
            if (this.I3) {
                this.I3.style.height = height + "\x70x";
            }
        }
        if ((false != fireEvent) && this.k && "functi\x6f\x6e" == typeof(this.k)) this.k();
    },
    l0: function() {
        if (this == RadWindowNamespace.O && this.o0 && this.o0.IsVisible()) {
            return RadWindowNamespace.i4(this.o0);
        } else {
            return RadWindowNamespace.i4(this);
        }
    },
    SetPosition: function(I4) {
        if (I4) {
            this.MoveTo(I4.left, I4.top);
            this.SetSize(I4.width, I4.height);
        }
    },
    S: function() {
        var o5 = 0;
        var zIndex = 0;
        var O5 = this.parentNode.childNodes;
        var node;
        for (var i = 0; i < O5.length; i++) {
            node = O5[i];
            if (1 != node.nodeType) continue;
            zIndex = parseInt(node.style.zIndex);
            if (zIndex > o5) {
                o5 = zIndex;
            }
        }
        this.style.zIndex = o5 + 1;
    },
    Show: function(I4) {
        this.style.display = this.l5 ? this.l5 : "";
        if (null != I4) {
            this.SetPosition(I4);
        }
        this.S();
        if (this.ShowOverlay) {
            this.ShowOverlay();
        }
        if (this.J) {
            this.J();
        }
    },
    Hide: function() {
        if (!this.IsVisible()) return;
        this.l5 = this.style.display;
        this.style.display = "none";
        if (this.i5) {
            this.i5();
        }
        if (this.H) {
            this.H();
        }
    },
    IsVisible: function() { return (this.style.display != "\x6eo\x6e\x65"); },
    m: function() { return (2 == this.DragMode); },
    M: function() { return (1 == this.DragMode); },
    I5: function() {
        this.L = null;
        this.O2 = null;
        this.o6 = null;
        this.T = null;
        this.O6 = null;
        this.onmousemove = null;
        this.onmouseup = null;
        this.onmouseout = null;
        this.onmousedown = null;
        this.Q = null;
        this.o1 = null;
        this.l1 = null;
        this.o2 = null;
        this.P = null;
        this.W = null;
        this.O3 = null;
        this.MoveTo = null;
        this.S = null;
        this.l0 = null;
        this.SetPosition = null;
        this.i3 = null;
        this.ShowOverlay = null;
        this.i5 = null;
        this.l6 = null;
        this.Show = null;
        this.Hide = null;
        this.IsVisible = null;
        this.m = null;
        this.M = null;
        this.o0 = null;
        this.OnDragStart = null;
        this.K = null;
        this.n = null;
        this.k = null;
        this.J = null;
        this.H = null;
        this.DragMode = null;
        this.i6 = null;
        this.I3 = null;
        this.c = null;
        this.B = null;
    }
};
RadWindowNamespace.c = function(e) {
    if (!RadWindowNamespace.O) return;
    if (!e) e = window.event;
    var I6 = RadWindowNamespace.O;
    I6.o1(e);
    I6.DragMode = "";
};
RadWindowNamespace.o7 = 0;
RadWindowNamespace.B = function(e) {
    var O7 = RadWindowNamespace.O;
    if (!O7) return;
    if (RadWindowNamespace.o7++ % 2) {
        O7.o2(e);
    }
    RadWindowNamespace.RadUtil_CancelEvent(e);
};
RadWindowNamespace.i6 = null;
RadWindowNamespace.O0 = function() {
    if (this.i6) {
        return this.i6;
    }
    var l7 = document.createElement("DIV");
    document.body.appendChild(l7);
    l7.style.position = "\x61bs\x6f\x6cute";
    l7.style.top = 10;
    l7.style.left = 10;
    l7.style.width = 100;
    l7.style.height = 100;
    l7.style.display = "n\x6f\x6ee";
    l7.className = "RadWDr\x61\x67Helpe\x72";
    RadWindowNamespace.o(l7, false, false, true);
    this.i6 = l7;
    return l7;
};
RadWindowNamespace.l = function(I) {
    I.i3 = function() {
        var frm = document.createElement("IFRAM\x45");
        frm = frm.cloneNode(true);
        frm.src = "\x6aavascrip\x74\x3a\047\047;";
        frm.frameBorder = 0;
        frm.scrolling = "\x6eo";
        frm.style.filter = "p\x72\x6fgid:DX\x49\x6dageT\x72\141\x6e\163f\x6f\x72m.M\x69\143\x72osof\x74.Alph\x61\050\x6f\160a\x63\151t\x79=0)";
        var i7 = frm.style;
        i7.overflow = "h\x69\x64den";
        this.I3 = frm;
    };
    I.ShowOverlay = function() {
        this.parentNode.insertBefore(this.I3, this);
        var i7 = this.I3.style;
        i7.display = "inl\x69\x6ee";
        i7.position = "absolute";
        var I4 = this.l0();
        i7.width = I4.width + "px";
        i7.height = I4.height + "\x70x";
        i7.left = I4.left + "\x70\x78";
        i7.top = I4.top + "px";
    };
    I.i5 = function() { this.I3.style.display = "none"; };
    if ("complete" == document.readyState) {
        I.i3();
    } else {
        I.l3 = true;
    }
};
RadWindowNamespace.I7 = function() {
    if (!this.o8) {
        var img = document.createElement("\x49MG");
        if (document.all) {
            var O8 = new Function("\162e\x74\x75rn fa\x6c\x73e");
            img.setAttribute("\x75\156sel\x65\x63table", "\x6f\156");
            img.setAttribute("\x67\141lle\x72\x79img", "no");
            img.onselectstart = O8;
            img.ondragstart = O8;
            img.onmouseover = O8;
            img.onmousemove = O8;
        }
        img.onmouseup = RadWindowNamespace.N;
        var i7 = img.style;
        i7.display = "\x6eone";
        i7.position = "absolute";
        i7.left = i7.top = "\x30\x70x";
        if (null != document.readyState && "complete" != document.readyState) {
            RadWindowNamespace.C(window, "\x6c\x6fad", function() { document.body.appendChild(img); });
        } else {
            document.body.appendChild(img);
        }
        this.o8 = img;
    }
    return this.o8;
};
RadWindowNamespace.I0 = function(l8) {
    var i8 = RadWindowNamespace.I7();
    if (i8) {
        var I8 = RadWindowNamespace.o9();
        var i7 = i8.style;
        i7.display = "";
        i7.width = parseInt(I8.width) + "\x70x";
        i7.height = parseInt(I8.height) + "p\x78";
        i7.top = RadWindowNamespace.O9(i8.ownerDocument);
        i7.left = RadWindowNamespace.l9(i8.ownerDocument);
        if (l8 && l8.style.zIndex) {
            var zIndex = l8.style.zIndex;
            i7.zIndex = zIndex;
            l8.style.zIndex = zIndex++;
        }
    }
};
RadWindowNamespace.N = function(e) {
    var i8 = RadWindowNamespace.I7();
    if (i8) {
        i8.style.display = "none";
    }
    RadWindowNamespace.c(e);
};
;
RadWindowMinimizeMode = { i9: 1, I9: 2, oa: 1 };
RadWindowBehavior = { Oa: 0, O2: 1, Minimize: 2, Close: 4, la: 8, Maximize: 16, W: 32, Reload: 64, oa: (1 + 2 + 4 + 8 + 16 + 32 + 64) };

function RadWindowInitialize(id, name, ia, Ia, ob, Ob, lb, ib, Ib, oc, Oc, lc, ic, Ic, od, Od, ld, oe, Oe, le, Ie, of, Of, If, og, Og, lg, Ig, oh) {
    var Oh = GetRadWindowManager();
    if (Ia) {
        Oh.lh(Oc, lc);
        return;
    }
    var ih = Oh.Ih(id);
    ih.oi = [];
    ih.Name = name;
    ih.Oi = ia;
    if (Ob) ih["O\x6e\x43\x6cientS\x68\x6fw"] = Ob;
    if (lb) ih["\x4fnCli\x65\x6etClo\x73\x65"] = lb;
    if (ib) ih["\x4fnClientPage\x4c\x6fad"] = ib;
    if (oh) ih.ClientCallBackFunction = oh;
    if (Ib) ih.ii = Ib;
    if (oc) ih.Ii = oc;
    if (ob) ih.Url = ob;
    if (Oc) ih.Width = Oc;
    if (lc) ih.Height = lc;
    if (ic) ih.oj("Lef\x74", ic, false);
    if (Ic) ih.oj("Top", Ic, false);
    if (od) ih.Oj = od;
    if (Od) ih.lj = Od;
    if (ld != RadWindowBehavior.Oa) ih.ij = ld;
    if (oe != RadWindowBehavior.oa) ih.Ij = oe;
    if (Oe != RadWindowMinimizeMode.oa) ih.ok = Oe;
    if (If != RadWindowClass.prototype.Ok) ih.Ok = If;
    if (og != RadWindowClass.prototype.lk) ih.lk = og;
    if (ih.lk) {
        var ik = function() { ih.SetOpenerElementId(ih.lk); };
        var Ik = document.getElementById(ih.lk);
        if (!Ik) {
            RadWindowNamespace.C(window, "load", ik);
        } else ik();
    }
    if (Ie != null) ih.ll = Ie;
    if (of != null) ih.il = of;
    if (Of != null) ih.Il = Of;
    if (Og != null) ih.om = Og;
    if (lg != null) ih.Om = lg;
    if (Ig != null) ih.Im = Ig;
    if (le != null) ih.On = le;
    if (ih.Il) {
        ih.Show();
    }
    return ih;
}

function RadWindowClass(id) {
    this.IsIE = RadWindowNamespace.In("ie");
    this.Id = id;
    this.Oi = id;
    this.Name = "";
    this.BrowserWindow = window;
}

RadWindowClass.prototype.ClientCallBackFunction = null;
RadWindowClass.prototype.BrowserWindow = null;
RadWindowClass.prototype.Url = null;
RadWindowClass.prototype.Width = 300;
RadWindowClass.prototype.Height = 300;
RadWindowClass.prototype.Left = null;
RadWindowClass.prototype.Top = null;
RadWindowClass.prototype.Oj = "";
RadWindowClass.prototype.lj = "";
RadWindowClass.prototype.Ok = "";
RadWindowClass.prototype.lk = "";
RadWindowClass.prototype.ii = "";
RadWindowClass.prototype.Ii = "";
RadWindowClass.prototype.oo = "\x65n_US";
RadWindowClass.prototype.Oo = { };
RadWindowClass.prototype.Io = null;
RadWindowClass.prototype.Ij = RadWindowBehavior.oa;
RadWindowClass.prototype.ij = RadWindowBehavior.Oa;
RadWindowClass.prototype.ok = RadWindowMinimizeMode.oa;
RadWindowClass.prototype.op = false;
RadWindowClass.prototype.Op = false;
RadWindowClass.prototype.lp = false;
RadWindowClass.prototype.ip = false;
RadWindowClass.prototype.On = false;
RadWindowClass.prototype.Ip = false;
RadWindowClass.prototype.oq = false;
RadWindowClass.prototype.ll = true;
RadWindowClass.prototype.il = true;
RadWindowClass.prototype.Il = false;
RadWindowClass.prototype.Oq = false;
RadWindowClass.prototype.om = false;
RadWindowClass.prototype.Om = false;
RadWindowClass.prototype.lq = null;
RadWindowClass.prototype.iq = null;
RadWindowClass.prototype.Iq = null;
RadWindowClass.prototype.Iframe = null;
RadWindowClass.prototype.or = null;
RadWindowClass.prototype.Or = null;
RadWindowClass.prototype.lr = null;
RadWindowClass.prototype.oi = null;
RadWindowClass.prototype.Im = false;
RadWindowClass.prototype.SetOffsetElementId = function(id) { this.Ok = id; };
RadWindowClass.prototype.SetOpenerElementId = function(id) {
    var ih = this;
    ih.lk = id;
    var Ik = document.getElementById(ih.lk);
    if (Ik) {
        var ir = Ik.onclick;
        Ik.onclick = function(e) {
            if (ir) ir();
            ih.Show();
            if (e) RadWindowNamespace.RadUtil_CancelEvent(e);
            return false;
        };
    } else alert(ih.Id + " (Opene\x72Elemen\x74\x49d)- \x43ould n\x6f\164\x20\146i\x6e\144\x20el\x65\x6den\x74\040\x6fn pag\x65 with\x20id " + ih.lk);
};
RadWindowClass.prototype.Ir = function(os) {
    var Os = this[os];
    if (!Os) return;
    if (typeof(Os) == "string") Os = eval(Os);
    if (typeof(Os) != "function") return;
    try {
        return Os(this);
    } catch(e) {
        alert("\x45xception\x20\x77hil\x65\x20ex\x65\143u\x74\151n\x67\x20cl\x69ent \x65\x76en\x74\040" + os + "\x20Error:" + e.message);
    }
    ;
    return true;
};
RadWindowClass.prototype.ls = function() {
    try {
        var frm = this.Iframe;
        var is = function() {
            var Is = frm.clientHeight;
            var ot = frm.contentWindow.document.body.scrollHeight;
            if (ot > Is) {
                frm.style.height = parseInt(ot) + "\x70\170";
            }
            if (!document.all) {
                frm.style.marginTop = "-3\x70\x78";
                frm.style.marginBottom = "\055\x33\x70x";
            }
        };
        is();
    } catch(e) {
    }
    ;
};
RadWindowClass.prototype.Dispose = function() {
    try {
        var Ik = document.getElementById(this.lk);
        if (Ik) Ik.onclick = null;
        if (this.lq) {
            if (this.lq.I5) this.lq.I5();
            this.lq = null;
        }
        if (this.Iq) this.Iq.ondblclick = null;
        this.Iq = null;
        this.iq = null;
        this.Ot = null;
        if (this.lt && this.it) {
            RadWindowNamespace.I1(this.it, "\x63lick", this.lt);
            this.lt = null;
            this.it = null;
        }
        if (this.It) {
            RadWindowNamespace.I1(this.Iframe, "load", this.It);
            this.It = null;
        }
        if (this.Iframe) {
            this.Iframe.src = "\x6a\x61vascri\x70\x74:\047\047";
            this.Iframe = null;
        }
        window[this.Oi] = null;
        this.or = null;
        if (this.Or && this.Or.Dispose) this.Or.Dispose();
        this.Or = null;
        if (this.ou && this.ou.Dispose) this.ou.Dispose();
        this.ou = null;
        this.oi = null;
        this.Ou = null;
        var lu = document.getElementById("Wind\x6f\x77Holde\x72\x5f" + this.Id);
        if (lu) {
            lu.innerHTML = "";
        }
    } catch(e) {
    }
};
RadWindowClass.prototype.AttachClientEvent = function(os, eventHandler) {
    if (!eventHandler) return;
    else {
        if (null == this.oi[os]) {
            this.oi[os] = [];
        }
        var iu = this.oi[os];
        if (typeof(eventHandler) == "strin\x67") {
            eventHandler = eval(eventHandler);
        }
        iu[iu.length] = eventHandler;
    }
};
RadWindowClass.prototype.Iu = function(os) {
    var ov = this.oi[os];
    if (null != ov) {
        var Ov = ov.length;
        for (var i = 0; i < Ov; i++) {
            try {
                ov[i](this);
            } catch(e) {
            }
            ;
        }
    }
    return true;
};
RadWindowClass.prototype.SetModal = function(lv) {
    this.On = lv;
    if (this.On && !this.ou) {
        this.ou = new RadWindowNamespace.RadWindowModal(this);
    } else if (!this.On && this.ou) {
        this.ou.Dispose();
        this.ou = null;
    }
};
RadWindowClass.prototype.MoveTo = function(x, y) {
    var iv = this;
    if (!iv.lq) return;
    x = parseInt(x);
    y = parseInt(y);
    iv.lq.MoveTo(x, y);
    if (!iv.Ou) {
        iv.Ou = { };
    }
    iv.Ou = iv.lq.l0();
};
RadWindowClass.prototype.SetWidth = function(width) {
    if (!this.lq) {
        this.Width = width;
        return;
    }
    var Iv = this.lq.l0();
    this.SetSize(width, Iv.height);
};
RadWindowClass.prototype.SetHeight = function(height) {
    if (!this.lq) {
        this.Height = height;
        return;
    }
    var Iv = this.lq.l0();
    this.SetSize(Iv.width, height);
};
RadWindowClass.prototype.GetWidth = function() {
    if (!this.lq) return this.Width;
    var Iv = this.lq.l0();
    if (Iv.width == 0 && this.Ou) {
        return this.Ou.width;
    }
    return Iv.width;
};
RadWindowClass.prototype.GetHeight = function() {
    if (!this.lq) return this.Height;
    var Iv = this.lq.l0();
    if (Iv.height == 0 && this.Ou) {
        return this.Ou.height;
    }
    return Iv.height;
};
RadWindowClass.prototype.GetLeftPosition = function() {
    if (!this.lq) return this.Left;
    var Iv = this.lq.l0();
    if (this.IsMinimized() || (Iv.left == 0 && this.Ou)) {
        return this.Ou.left;
    }
    return Iv.left;
};
RadWindowClass.prototype.GetTopPosition = function() {
    if (!this.lq) return this.Top;
    var Iv = this.lq.l0();
    if (this.IsMinimized() || (Iv.top == 0 && this.Ou)) {
        return this.Ou.top;
    }
    return Iv.top;
};
RadWindowClass.prototype.SetTitle = function(od) {
    if (!od) return;
    if (this.iq) this.iq.innerHTML = od;
    this.Oj = od;
};
RadWindowClass.prototype.GetWindowManager = function() { return GetRadWindowManager(); };
RadWindowClass.prototype.ow = function() {
    if (this.IsVisible()) return this.lq.l0();
    else return this.Ou;
};
RadWindowClass.prototype.Center = function() {
    var Ow = this.lq;
    var Iv = RadWindowNamespace.i4(Ow);
    var lw = RadWindowNamespace.iw();
    var Oc = Iv.width;
    var lc = Iv.height;
    var x = lw.left + ((lw.width - parseInt(Oc)) / 2);
    var y = lw.top + ((lw.height - parseInt(lc)) / 2);
    if (!isNaN(x)) Ow.style.left = (x) + "p\x78";
    if (!isNaN(y)) Ow.style.top = (y) + "\x70x";
};
RadWindowClass.prototype.SetVisible = function(Iw) {
    if (Iw) {
        if (!this.lq.Show) {
            this.lq.style.display = "";
            return;
        }
        var Iv = this.Ou;
        if (Iv) {
            this.lq.MoveTo(Iv.left, Iv.top);
        }
        this.lq.Show();
        if (Iv) {
            this.lq.SetSize(Iv.width, Iv.height);
        }
        this.ip = false;
    } else {
        if (!this.IsVisible()) return;
        if (this.lq.Hide) this.lq.Hide();
        else this.lq.style.display = "\x6eone";
    }
    this.ox();
};
RadWindowClass.prototype.SetSize = function(width, height) {
    var iv = this;
    var Ox = function() {
        if (iv.Ot) iv.Ot.style.width = "";
        var Oc = parseInt(width);
        var lc = parseInt(height);
        iv.Width = Oc;
        iv.Height = lc;
        if (iv.lq.SetSize) {
            iv.lq.SetSize(Oc, lc);
        } else {
            iv.lq.style.height = lc + "\x70\x78";
            iv.lq.style.width = Oc + "\x70\x78";
        }
        if (iv.Ou) {
            iv.Ou.width = Oc;
            iv.Ou.height = lc;
        }
        iv.ox();
    };
    Ox();
};
RadWindowClass.prototype.lx = function() {
    if (!this.lq) {
        var Oh = GetRadWindowManager();
        var ix = this.Ix();
        var lu = document.createElement("S\x50\101\x4e");
        lu.setAttribute("id", "Wind\x6f\x77Holde\x72\x5f" + this.Id);
        document.body.appendChild(lu);
        lu.innerHTML = ix;
        this.lq = document.getElementById("\x52\x61dWindo\x77\x57rap\x70\x65rE\x6c\145m\x65\x6et" + this.Id);
        this.iq = document.getElementById("RadW\x69\x6edowTi\x74\x6ce" + this.Id);
        this.Iq = document.getElementById("\x52adWindowH\x65\x61der\x52\x6fw" + this.Id);
        this.Ot = document.getElementById("\x52adWStatus" + this.Id);
        this.Iframe = document.getElementById("Ra\x64\x57indowC\x6f\156t\x65\x6etF\x72\x61me" + this.Id);
        this.or = document.getElementById("RadW\x69\x6edowLo\x61\x64ingW\x72\x61ppe\x72" + this.Id);
        RadWindowNamespace.o(this.lq, A = true, this.oy, this.Oy(RadWindowBehavior.O2), this.Oy(RadWindowBehavior.W));
        var ly = this;
        this.lq.n = function() { ly.SetActive(true); };
        this.lq.K = function() {
            ly.Ou = ly.lq.l0();
            ly.SetActive(true);
            ly.ox();
            ly.Iu("\x6fndragend");
        };
        if (this.Oy(RadWindowBehavior.Maximize) && this.Iq) {
            this.Iq.ondblclick = function() { ly.ToggleMaximize(); };
        }
        this.iy();
    }
    this.Oq = true;
};
RadWindowClass.prototype.Show = function() {
    var ih = this;
    var Iy = function() {
        var oz = false;
        if (!ih.Oq) {
            ih.lx();
            if (RadWindowBehavior.Minimize & ih.ij) {
                ih.Minimize();
                oz = true;
            } else if (RadWindowBehavior.Maximize & ih.ij) {
                ih.Maximize();
                oz = true;
            }
        }
        if (ih.Url && (!ih.Ip || ih.Om)) {
            ih.SetUrl(ih.Url);
        }
        if (oz) return;
        if (!ih.Ou) {
            var Oz = ih.lq;
            if (ih.lq && ih.lq.SetSize) {
                ih.lq.SetSize(ih.Width, ih.Height);
            }
            if (!ih.IsVisible()) {
                Oz.MoveTo(-3000, -3000);
                Oz.Show();
            }
            var Iv = ih.lz();
            x = Iv.left;
            y = Iv.top;
            ih.SetVisible(true);
            if (ih.IsIE && "\x43\x53\123\x31Compat" == document.compatMode) {
                Oz.SetSize(ih.Width, ih.Height);
            }
            ;
            ih.MoveTo(x, y);
        } else {
            ih.SetVisible(true);
        }
        if (RadWindowBehavior.la & ih.ij) {
            ih.lp = false;
            ih.TogglePin();
        }
        if (ih.iz(RadWindowMinimizeMode.I9) && !ih.Or) {
            ih.Or = new RadWindowNamespace.Iz(ih);
        }
        ih.SetModal(ih.On);
        ih.SetTitle(ih.Oj);
        if (ih.On) ih.SetActive(true);
        ih.ip = false;
        if (ih.IsMinimized()) ih.Iu("\x6fnrestore");
        ih.Op = false;
        ih.Iu("\x6f\x6eshow");
        ih.Ir("On\x43\x6cientSho\x77");
        ih.o10 = null;
        ih.O10 = null;
    };
    if ((null != document.readyState && "\x63omplete" != document.readyState)) {
        RadWindowNamespace.C(window, "l\x6f\x61d", Iy);
    } else Iy();
};
RadWindowClass.prototype.Hide = function() { this.SetVisible(false); };
RadWindowClass.prototype.lz = function() {
    var ih = this;
    var x = null, y = null;
    if (ih.Ok) {
        var l10 = document.getElementById(ih.Ok);
        if (l10) {
            var Iv = RadWindowNamespace.i4(l10);
            if (Iv) {
                x = (Iv.left + (this.Left ? parseInt(this.Left) : 0));
                y = (Iv.top + (this.Top ? parseInt(this.Top) : 0));
            }
        }
    }
    if (null == x || null == y) {
        var lw = RadWindowNamespace.iw();
        x = RadWindowNamespace.l9(document) + (ih.Left ? parseInt(ih.Left) : (lw.width - parseInt(ih.GetWidth())) / 2);
        y = RadWindowNamespace.O9(document) + (ih.Top ? parseInt(ih.Top) : (lw.height - parseInt(ih.GetHeight())) / 2);
        var i10 = parseInt(ih.GetHeight());
        if (i10 < lw.height) {
            var I10 = i10 - lw.height;
            if (I10 > 0) y += I10 / 2;
        }
    }
    return { left: x, top: y };
};
RadWindowClass.prototype.CallBack = function(o11, O11) {
    if (true != O11) this.Close();
    var Ox = this.ClientCallBackFunction;
    if (Ox) {
        if ("\163\x74rin\x67" == typeof(Ox)) Ox = eval(Ox);
        if ("\x66\165nct\x69\x6fn" == typeof(Ox)) Ox(this, o11);
    }
};
RadWindowClass.prototype.iy = function() {
    var l11 = this;
    if (!l11.Argument) l11.Argument = { };
    var i11 = this.Iframe;
    try {
        if (this.lr) {
            var iv = this.lr;
            iv.radWindow = l11;
        } else {
            i11.radWindow = l11;
            if (i11.contentWindow != null) {
                i11.contentWindow.radWindow = l11;
            }
        }
    } catch(e) {
    }
};
RadWindowClass.prototype.GetContentFrame = function() { return this.Iframe; };
RadWindowClass.prototype.GetTitlebar = function() { return this.iq; };
RadWindowClass.prototype.GetStatusbar = function() { return this.Ot; };
RadWindowClass.prototype.SetContent = function(I11) {
    this.iy();
    var frm = this.Iframe;
    if (I11) {
        var o12 = "\x66unctio\x6e\x20GetR\x61\x64Wi\x6edow(){" + "v\x61\x72 oWind\x6f\x77 = \x6e\x75ll\x3b" + "if\x20\x28window\x2e\x72adW\x69\x6edo\x77\x29 o\x57\x69nd\x6f\x77\x20= wi\x6e\144o\x77\056\x72adWi\x6e\144o\x77;" + "el\x73\x65 if (w\x69\x6edow\x2e\x66ra\x6d\x65Ele\x6d\x65nt\x2e\x72a\x64\127i\x6e\144o\x77) oWi\x6e\144\x6f\167 \x3d win\x64ow.fr\x61m\x65Elem\x65nt.\x72adWi\x6edow;" + "retu\x72\x6e oWin\x64\x6fw; \x7d";
        if (window.opera) {
            frm.src = this.Io + ".\x2e\x2f../Oper\x61\x2ehtm\x6c";
            var iv = this;
            frm.attachEvent("\x6f\156loa\x64", function() {
                frm.contentWindow.document.body.innerHTML = I11;
                O12 = new RegExp("<\x28\x53CRIPT\x29\x28[^>\x5d\x2a)>(\x5b\134\x73\x5cS]\x2a\x3f)<\x2f(SCRI\x50\124)\x28\133^\x3e]*)>", "\x69g");
                var l12 = [];
                I11.replace(O12, function(i12, a, b, I12) {
                    l12[l12.length] = I12;
                    return i12;
                });
                var o13 = frm.contentWindow.document.body;
                var O13 = o13.getElementsByTagName("\x53CRIP\x54");
                var l13 = O13.length;
                for (var i = 0; i < l13; i++) {
                    var i13 = l12[i];
                    if (i13.indexOf("G\x65\x74Locali\x7a\x65dSt\x72\x69ng") > -1) {
                        var I13 = i13.indexOf("GetL\x6f\x63alize\x64\x53tri\x6e\147\x28");
                        var o14 = i13.indexOf(")", I13 + 19);
                        var O14 = i13.substring(I13 + 20, o14 - 1);
                        O13[i].parentNode.innerHTML += iv.GetLocalizedString(O14);
                    }
                }
                var i1 = frm.contentWindow.document;
                var l14 = i1.createElement("\x53CRI\x50\x54");
                o13.insertBefore(l14, o13.firstChild);
                l14.innerHTML = o12;
                var i14 = o13.getElementsByTagName("STYL\x45");
                if (i14 && i14.length > 0) {
                    var I14 = new RegExp("\x3c(STYLE)([^>\x5d\x2a)>[\x5c\x73\134\x53]*?\x3c\x2f(S\x54\x59L\x45)([^>\x5d\052\x29>", "ig");
                    var o15 = I11.match(I14);
                    var i7 = i14[0];
                    if (o15) i7.innerText = o15;
                }
            });
        } else {

            function O15(doc) {
                doc.write("");
                doc.close();
                doc.open();
                doc.write("\x3c" + "s\x63\x72ipt" + "\x3e" + o12 + "\x3c" + "/s\x63\x72ipt>" + I11);
                doc.close();
            }

            if (!frm.contentWindow || !frm.contentWindow.document) {
                frm.src = this.Io + ".\x2e\x2f../Ope\x72\141.\x68\x74m\x6c";
                var iv = this;
                frm.addEventListener("\x6c\157ad", function() { O15(frm.contentWindow.document); }, false);
            } else {
                O15(frm.contentWindow.document);
            }
        }
    }
};
RadWindowClass.prototype.GetUrl = function() { return this.Url; };
RadWindowClass.prototype.SetUrl = function(url) {
    var l15 = url;
    this.Url = l15;
    var i15 = l15;
    if (this.Om) {
        var I15 = "r\x77\156drn\x64\075" + Math.random();
        if (i15.indexOf("?") > -1) {
            I15 = "\046" + I15;
        } else {
            I15 = "?" + I15;
        }
        i15 += I15;
    }
    this.Iframe.src = i15;
    if (!this.Im) {
        this.Iframe.style.width = "0px";
        this.Iframe.style.height = "0px";
    }
    this.or.style.display = "";
    var l11 = this;
    var o16 = function() {
        l11.or.style.display = "\x6eone";
        l11.Iframe.style.width = "\x3100%";
        l11.Iframe.style.height = "\x31\0600\x25";
        if (!l11.IsVisible() || l11.IsActive() || l11.IsClosed()) {
        } else l11.SetActive(true);
        try {
            l11.it = l11.Iframe.contentWindow.document;
            l11.lt = function(e) {
                if (!l11.IsVisible() || l11.IsActive() || l11.IsClosed()) return;
                l11.SetActive(true);
            };
            RadWindowNamespace.C(l11.it, "click", l11.lt);
            if (l11.it.title) l11.SetTitle(l11.it.title);
        } catch(e) {
        }
        l11.Ir("\x4fnClie\x6e\x74PageL\x6f\x61d");
        l11.Iu("onwindowloa\x64");
    };
    if (!this.Ip) {
        this.It = o16;
        RadWindowNamespace.C(this.Iframe, "load", this.It);
        if (window.opera && this.Iframe.attachEvent) this.Iframe.attachEvent("\157n\x6c\x6fad", o16);
    }
    this.Ip = true;
};
RadWindowClass.prototype.Reload = function() {
    this.or.style.display = "";
    try {
        this.Iframe.contentWindow.location.reload();
    } catch(e) {
        this.or.style.display = "\x6eone";
    }
};
RadWindowClass.prototype.SetActive = function(setActive) {
    if (false != setActive) {
        var O16 = this.Url;
        try {
            O16 = this.Iframe.contentWindow.location.href;
            if (O16.indexOf("j\x61\x76ascrip\x74") == 0) O16 = "";
        } catch(e) {
            O16 = "";
        }
        if (!this.l16()) {
        }
        this.i16(true);
        RadWindowNamespace.I16(this.lq);
        var Oh = GetRadWindowManager();
        var o17 = Oh.GetActiveWindow();
        if (this == o17) return;
        else Oh.O17(this);
    }
};
RadWindowClass.prototype.l17 = function(setActive) {
    this.i16(setActive);
    if (setActive) {
        var Oz = this.lq;
        if (!this.IsIE && (this.ok != RadWindowMinimizeMode.I9)) {
            Oz.Hide();
            Oz.Show();
        }
    }
    this.Iu(setActive ? "\x6fnactiv\x61\x74e" : "onde\x61\x63tivate");
};
RadWindowClass.prototype.SetStatus = function(i17) {
    if (this.Ot) {
        this.Ot.value = i17;
        var I17 = this.Ot.parentNode;
        var Oc = I17 && I17.offsetWidth > 0 ? I17.offsetWidth - 5 : "";
        if (Oc) Oc += "px";
        this.Ot.style.width = Oc;
    }
};
RadWindowClass.prototype.ox = function(oe) {
    if (this.Ot) {
        var o18 = this;
        this.Ot.style.width = "";
        window.setTimeout(function() { o18.SetStatus(o18.l16()); });
    }
};
RadWindowClass.prototype.l16 = function() { if (this.Ot) return this.Ot.value; };
RadWindowClass.prototype.Minimize = function() {
    if (!this.Oq || this.ip || this.Op) return;
    this.lq.Hide();
    RadWindowNamespace.O18(true);
    this.Op = true;
    this.op = false;
    var Oh = GetRadWindowManager();
    if (this == Oh.GetActiveWindow()) {
        Oh.ActiveWindow = null;
    }
    if (!this.Or) this.Or = new RadWindowNamespace.Iz(this);
    this.Iu("onminimize");
};
RadWindowClass.prototype.ToggleMaximize = function() {
    var l18 = this.lp;
    if (l18) this.TogglePin();
    if (this.op) {
        this.Restore();
    } else {
        this.Maximize();
    }
    if (l18) this.TogglePin();
};
RadWindowClass.prototype.Restore = function() {
    if (!this.Oq) return;
    if (this.lq && this.lq.G) this.lq.G(true);
    if (this.i18) {
        RadWindowNamespace.I1(window, "resize", this.i18);
        this.i18 = null;
    }
    RadWindowNamespace.O18(true, this.I18);
    this.I18 = null;
    var I4 = this.Ou;
    if (!I4) {
        var position = this.lz();
        this.Ou = { width: this.Width, height: this.Height, top: position.top, left: position.left };
        I4 = this.Ou;
    }
    this.SetVisible(true);
    var Oz = this.lq;
    Oz.SetSize(I4.width, I4.height);
    Oz.MoveTo(I4.left, I4.top);
    this.o19("\x54oggl\x65\x4daximi\x7a\x65But\x74on", "title", this.GetLocalizedString("Maximi\x7a\x65"));
    this.o19("\x54oggleMaximi\x7a\x65But\x74\x6fn", "\x73\162c", this.O19("\x4daximize.gif"));
    this.op = false;
    this.Op = false;
    this.SetActive(true);
    this.Iu("\x6fnrestore");
    return this;
};
RadWindowClass.prototype.Maximize = function() {
    if (!this.Oq) return;
    this.SetVisible(true);
    if (this.lq && this.lq.G) this.lq.G(false);
    this.I18 = document.body.style.overflow;
    RadWindowNamespace.O18(false);
    var I4 = RadWindowNamespace.iw();
    this.lq.MoveTo(I4.left, I4.top);
    this.lq.SetSize(I4.width, I4.height, false);
    this.o19("\x54oggleMaximi\x7a\x65But\x74\x6fn", "title", this.GetLocalizedString("Restore"));
    this.o19("\x54oggleMax\x69\x6dizeB\x75\x74to\x6e", "src", this.O19("Re\x73\x74ore.gif"));
    this.op = true;
    this.Op = false;
    this.SetActive(true);
    if (!this.i18) {
        var Oz = this.lq;
        var o18 = this;
        this.i18 = function() {
            var l19 = RadWindowNamespace.iw();
            Oz.MoveTo(l19.left, l19.top);
            Oz.SetSize(l19.width, l19.height, false);
        };
        RadWindowNamespace.C(window, "r\x65size", this.i18);
    }
    this.Iu("onmaximize");
};
RadWindowClass.prototype.Close = function(i19) {
    if (!this.Oq || this.ip) return;
    RadWindowNamespace.O18(true);
    this.SetVisible(false);
    this.ip = true;
    if (null != i19) {
        this.CallBack(i19);
    }
    var Oh = GetRadWindowManager();
    if (this == Oh.GetActiveWindow()) {
        Oh.ActiveWindow = null;
    }
    this.Iu("onclose");
    if (Oh.I19 && this.iz(RadWindowMinimizeMode.I9)) {
        this.Ir("\117\x6e\x43lientC\x6c\x6fse");
        this.Argument = null;
        return;
    }
    if (this.WindowToSetActive) {
        this.WindowToSetActive.SetActive(true);
        this.WindowToSetActive = null;
    } else {
        Oh.FocusNextWindow(this);
    }
    if (true == this.om) {
        Oh.o1a(this);
    }
    this.Ir("\x4fnClie\x6e\x74Close");
    this.Argument = null;
};
RadWindowClass.prototype.TogglePin = function() {
    if (!this.Oq) return;
    this.lp = !this.lp;
    var O1a = this.lp ? "P\x69\x6eOn" : "\x50\x69nOff";
    this.o19("TogglePinBut\x74\x6fn", "title", this.GetLocalizedString(O1a));
    this.o19("TogglePinB\x75\x74ton", "\x73rc", this.O19(O1a + ".gif"));
    RadWindowNamespace.l1a(this.lp, this.lq);
    this.Iu("\x6fntogglepi\x6e");
};
RadWindowClass.prototype.o19 = function(id, i1a, I1a) {
    var Ow = document.getElementById(id + this.Id);
    if (Ow && Ow.setAttribute) {
        Ow.setAttribute(i1a, I1a, 0);
    }
};
RadWindowClass.prototype.oj = function(o1b, O1b, l1b) {
    if (null == O1b || "" == O1b) {
        if (!l1b) return;
    } else {
        this[o1b] = O1b;
    }
};
RadWindowClass.prototype.O19 = function(i1b) { return this.Io + "I\x6d\147/" + i1b; };
RadWindowClass.prototype.GetLocalizedString = function(I1b) {
    var I15 = this.Oo[I1b];
    return I15 ? I15 : I1b;
};
RadWindowClass.prototype.toString = function() { return "object [R\x61\x64Win\x64\x6fw i\x64=" + this.Id + "\x5d"; };
RadWindowClass.prototype.i16 = function(o1c) { this.lq.className = o1c ? "\x52\x61dWWrap\x70\x65rAct\x69\x76e" : "R\x61\x64WWrappe\x72\x49nact\x69\166\x65"; };
RadWindowClass.prototype.IsMaximized = function() { return this.op; };
RadWindowClass.prototype.IsMinimized = function() { return this.Op; };
RadWindowClass.prototype.IsModal = function() { return this.On; };
RadWindowClass.prototype.IsClosed = function() { return this.ip; };
RadWindowClass.prototype.IsPinned = function() { return this.lp; };
RadWindowClass.prototype.IsVisible = function() { return (this.lq && this.lq.style.display != "none"); };
RadWindowClass.prototype.IsActive = function() {
    try {
        var Oh = GetRadWindowManager();
        return (Oh.GetActiveWindow() == this);
    } catch(e) {
    }
};
RadWindowClass.prototype.iz = function(O1c) { return O1c & this.ok; };
RadWindowClass.prototype.Oy = function(oe) { return oe & this.Ij ? true : false; };
RadWindowClass.prototype.Ix = function() {
    var id = this.Id;
    var l1c = this.Oi;
    var name = this.Name;
    var url = document.all ? "j\x61vascript:\047\047\x3b" : "";
    var html = "";
    html += "\011\011<\x74\x61ble\x20\x62ord\x65r=0 id\x3d\047R\x61\x64Wi\x6edowW\x72apper\x45\154e\x6d\145n\x74" + id + "\047\x20\x63lass\x3d\x27Rad\x57\x57ra\x70\x70er\x41\x63ti\x76\x65\047\x20st\x79\154e\x3d\047\x64\151s\x70lay:\x6e\157n\x65;z-i\x6ede\x78:" + this.i1c + "\x3bwidth\x3a" + this.Width + "\x3b\x68eight:" + this.Height + ";positi\x6f\x6e:ab\x73\x6flut\x65\073\x27\x20cel\x6c\x73pa\x63\x69n\x67=\047\x30\047\x20cellp\x61dding\x3d\047\x30\047\x3e\012" + "\011\x09  <tbo\x64\171 s\x74\x79le\x3d\x27" + (document.all ? "" : "\x68eight:10\x30\x25") + "\047\x3e" + "\x09\011\x09<tr cl\x61\x73s=\047\122a\x64\x57Tit\x6c\145R\x6f\x77\047\040" + "\011\x09\011\011\x73tyle\x3d\x27" + (this.il ? "" : "display:n\x6f\x6ee") + "\047\x3e\012" + "\011\x09\011\011\x3ctd w\x69\x64th\x3d\x271\047\x20sty\x6c\x65=\047\150e\x69ght:3\x70\170;\x27 clas\x73=\047\x52adWW\x72appe\x72Head\x65rLe\x66t\047\x20now\x72ap>\x3c/td>\x0a" + "\011\x09\x09\011\x3ctd vali\x67\156=\x27\x74op\x27\x20uns\x65\154\x65\x63ta\x62\154\x65\075\x27\x6fn\x27\x20gr\x69p=\047\x74ru\x65\047\x20tit\x6ceGri\x70=\047\x73ho\x77\047\x20wi\x64th=\x27100\x25\047\x20st\x79le=\x27he\x69ght\x3a3p\x78;\047 cl\x61ss\x3d\047\122\x61dW\x57r\x61pp\x65rH\x65ad\x65rC\x65n\x74er\x27 \x6eow\x72a\x70=\x27tr\x75e\x27 >\x0a" + "\x20<div cl\x61\x73s=\047\x52adW\x48\145ad\x65\162T\x6f\x70Re\x73izer\047\x3e&n\x62\163p\x3b</div\x3e" + "\x09\011\x3c\x74able\x20\x62ord\x65\162=\x30\x20cel\x6c\163p\x61cing=\x27\x30\047\x20ce\x6c\154p\x61dding\x3d0\047\x20widt\x68=\047\x3100\x25\047\x20><t\x72>" + "<td class\x3d\x27RadW\x57\x72app\x65rHeader\x43\145n\x74\145r\x27\076\x0a" + "\x09\011\011\x09\011\x3c\151mg\x20ondblcl\x69\143k\x3d\x27" + l1c + ".C\x6c\x6fse();\x72\x65tur\x6e\x20Ra\x64\x57in\x64\x6fwN\x61\x6de\x73\x70ac\x65.RadU\x74\151l\x5fCance\x6cEvent\x28even\x74);\047\x20c\x6cass=\x27RadW\x49con\x27 src\x3d\047" + this.ii + "\047\x20align=\x27\x61bsmi\x64\x64le\x27\x20bo\x72\x64er=\x27\060\x27\x3e" + "\011\011\x09\011\x3c\057td\x3e\x3ct\x64\x20id=\x27\x52ad\x57\151n\x64owHead\x65rRow" + id + "\x27 class=\x27\x52adWW\x72\x61pp\x65\x72Hea\x64\145r\x43\145n\x74\145r\x27 nowr\x61\160 \x77\151d\x74h=\047\x3100\x25\047\x3e\011\x3cspa\x6e id=\x27RadW\x69ndow\x54itl\x65" + id + "\047\x20unsele\x63\164ab\x6c\x65=\x27\x6fn\047\x20onse\x6c\145c\x74start\x3d\047r\x65turn \x66\141l\x73e;\047\x20cl\x61\163\x73=\047\x52ad\x57Titl\x65Text\x27>" + this.Oj + "\x3c/span>\012" + "\011\011\x09\011\x3c/td>";
    if (!this.On && this.Oy(RadWindowBehavior.la)) {
        html += "\011\011\x3ctd wi\x64\x74h=\047\x31\047\x20titl\x65\x3d\047" + this.GetLocalizedString("P\x69\x6eOff") + "\047\x20class=\047\x52adWWr\x61\x70pe\x72\x48ead\x65\162C\x65\156\x74\145r\x27 nowr\x61\160>\x0a" + "\x3cimg o\x6e\x6douse\x64\x6fwn=\x27\162e\x74\x75rn\x20\x52ad\x57\151n\x64owNam\x65\163p\x61ce.Ra\x64Util_\x43ancel\x45vent\x28eve\x6et);\x27\x20c\x6cass=\x27Rad\x57Butt\x6fn\047\x20b\x6frde\x72=\047\060\x27 sr\x63=\047" + this.O19("PinOff\x2e\x67if") + "\047\x20\151d=\047\x54ogg\x6c\x65Pi\x6e\x42ut\x74\x6fn" + id + "\x27\x20onclic\x6b\x3d\047" + l1c + "\x2e\x54oggleP\x69\x6e();\x72\x65tu\x72\x6e f\x61\x6cse;\x27\040\x6fndblc\x6c\151c\x6b\075\x27\162e\x74urn R\x61dWin\x64\157\x77Name\x73pac\x65.Rad\x55til_\x43anc\x65lEve\x6et(e\x76ent\x29;\047\x2f>" + "\x3c/td>\012";
    }
    if (this.Oy(RadWindowBehavior.Reload)) {
        html += "\x09\011\x3ctd wid\x74\x68=\047\x31\047\x20class\x3d\x27Rad\x57Wrapp\x65\162H\x65\141d\x65\162C\x65nter\047\040\x6eowrap\x3e\012" + "\011\x09\011\011\x09<img\x20\x6fnm\x6f\165se\x64\157w\x6e\x3d\047\x72et\x75\x72n \x52adWin\x64owNam\x65\163\x70\141\x63\145\x2e\122\x61dUti\x6c_Can\x63elE\x76ent(\x65ven\x74);\047\040\x20cla\x73s=\x27RadW\x42ut\x74on\x27\040\x62or\x64er\x3d\047\x30\047 sr\x63=\x27" + this.O19("Reload\x2e\x67if") + "\047\x20\x74itle=\x27" + this.GetLocalizedString("\122el\x6f\x61d") + "\047\x20\151d=\047\x52elo\x61\x64Bu\x74\164on" + id + "\047\x20onclick\x3d\x27" + l1c + "\x2eReload\x28\x29;ret\x75\x72n f\x61\154s\x65\x3b\047\x20ondb\x6cclick\x3d\047\x72\145t\x75\162n\x20RadW\x69\156d\x6fwNam\x65spa\x63e.Ra\x64Util\x5fCanc\x65lEv\x65nt(e\x76ent\x29;\047\x2f>" + "\011\x09\x09</td>\x0a";
    }
    if (this.Oy(RadWindowBehavior.Minimize)) {
        html += "\x09\011<\x74\x64 wid\x74\x68=\047\x31\047\x20 cla\x73\x73=\047\x52a\x64\x57Wr\x61\160\x70\x65rH\x65aderC\x65nter\x27\x20n\x6f\167\x72ap>\x0a" + "\011\x09\x09\011\x09<img on\x6d\x6fus\x65\x64ow\x6e\x3d\047\x72etu\x72\156 \x52\141\x64\127i\x6edowNa\x6despac\x65.Rad\x55til_C\x61nce\x6cEven\x74(ev\x65nt);\x27 cla\x73s=\x27\122\x61dWB\x75tto\x6e\047\x20bo\x72de\x72=\047\x30\x27 sr\x63=\047" + this.O19("\115in\x69\x6dize.\x67\x69f") + "\x27 title=\x27" + this.GetLocalizedString("Mini\x6d\x69ze") + "\x27 id=\047\x4dinim\x69\x7aeBu\x74\164o\x6e" + id + "\x27  oncli\x63\x6b=\047" + l1c + ".\x4d\x69nimize\x28\x29;re\x74\x75rn\x20\x66al\x73\x65;\047\x2f>" + "\x09\x09\011\x3c\057td\x3e\x0a";
    }
    if (this.Oy(RadWindowBehavior.Maximize)) {
        html += "\011\x09<td width\x3d\x271\047\x20clas\x73\075\047\x52ad\x57\x57r\x61\x70pe\x72\110e\x61derCe\x6e\164e\x72\047\x20nowra\x70>\012" + "\x09\011\x09\x09\011\x3cimg on\x6d\157us\x65\144o\x77\x6e=\047\x72et\x75\162n\x20\122a\x64Windo\x77Names\x70ace.R\x61dUti\x6c_Can\x63elEv\x65nt(e\x76ent)\x3b\047\x20cl\x61ss=\x27\122\x61dWB\x75tto\x6e\047\x20bo\x72de\x72=\047\060\x27 s\x72c=\x27" + this.O19("\x4daximize\x2e\x67if") + "\047\x20\x74itle\x3d\x27" + this.GetLocalizedString("\x4daximize") + "\047 \x69\x64=\047\x54oggleM\x61\170i\x6d\x69zeB\x75\164t\x6f\156" + id + "\047\x20\x6fnclick\x3d\x27" + l1c + ".ToggleMaxi\x6d\x69ze(\x29\x3bret\x75\162n\x20\x66als\x65\073\x27\057\x3e" + "\x09\x09\011\x3c/td>\012";
    }
    if (this.Oy(RadWindowBehavior.Close)) {
        html += "\x09\011\x09\x3ctd \x77\x69dth=\x271\047\x20\164i\x74\x6ce=\x27" + this.GetLocalizedString("Close") + "\047\x20\x63lass=\x27\x52adWW\x72apperHe\x61\144e\x72\x43en\x74\145r\x27 nowr\x61\160>\x0a" + "\011\x09\011\011\x09<img \x6f\x6emo\x75\163e\x64\x6fwn=\x27\162e\x74urn R\x61\x64Wi\x6edowNa\x6despac\x65.RadU\x74il_C\x61\156\x63elEv\x65nt(\x65vent\x29;\047\x20cl\x61ss=\x27Rad\x57But\x74on\047\040\x62ord\x65r=\x270\047\x20s\x72c=\x27" + this.O19("Clo\x73\x65.gif") + "\047 i\x64\x3d\047\x43loseBut\x74\157n" + id + "\x27\040 o\x6e\x63lick\x3d\x27" + l1c + "\x2eClose();r\x65\x74urn\x20\x66al\x73\x65;\047\x2f>\012" + "\011\x09\x09\011\x3c/td>\012";
    }
    html += "\011\x09\011\x3c\x2ftr>\x3c\x2ftab\x6c\x65> <\x2f\164d\x3e\x0a";
    html += "\x09\x09\011\x09<td widt\x68\x3d\047\x31\047\x20class=\x27\x52ad\x57Wrappe\x72\110e\x61\144e\x72Right\x27 nowr\x61\160\x3e\074\x2ftd>\x0a" + "\x09\011\011\x3c/tr>\x0a";
    html += "\x09\011\x09\074t\x72\x20hei\x67ht=\047\x3100%\047\x20styl\x65\x3d\047\x68ei\x67ht:100\x25\047\x20\076\x0a" + "\x09\x09\011\x09\074t\x64\x20ali\x67\x6e=\047\x6ceft\x27\040i\x64=\047\x52adWin\x64owCon\x74entTD" + id + "\047\x20\143ols\x70\x61n=\047\x38\047\x20styl\x65\x3d\047\x77idt\x68\0721\x30\060%\x3bheigh\x74:100%\x3b\047\x3e\012" + "\x09\011\x09\011\011\x3ctabl\x65 style=\x27\x62ord\x65\162:\x30\160\x78\x20so\x6cid re\x64\073\x77\151d\x74h:10\x30\045\x3b\150\x65ight\x3a100%\x3b\047\x20ce\x6clspa\x63ing\x3d\047\x30\047\x20c\x65llp\x61ddi\x6eg=\x270\047\x3e\x0a" + "\x09\011\x09\x09\011\x09<tbod\x79\040s\x74\x79le=\x27\150e\x69\147h\x74:100%\x27\076<\x74r hei\x67\150t\x3d\047\x3100%\047\040\x73tyle\x3d\047\x68eig\x68t:10\x30%\047\x3e" + "\011\x09\011\011\x09\011\x09\074t\x64\040r\x6f\x77spa\x6e\0752\x20width\x3d\x271\x27\x20cl\x61ss=\047\x52ad\x57Wrapp\x65rBod\x79Left\x27 now\x72ap>&\x6ebsp\x3b</td\x3e\012" + "\011\x09\x09\011\x09\011\011\x3ctd \x68\145i\x67\x68t=\x27\x3100\x25\047 \x73\164y\x6ce=\047\x68eig\x68\164\x3a\061\x30\060\x25\047\x20wid\x74h=\047\x3100\x25\047\x20cla\x73s=\x27RadW\x57rap\x70erB\x6fdy\x43ent\x65r\047\040\x76ali\x67n=\x27bo\x74to\x6d\047\040\x61li\x67n=\x27l\x65ft\x27 o\x6ese\x6ce\x63ts\x74ar\x74=\x27re\x74u\x72n \x66a\x6cs\x65;\x27>\x0a" + "\011\x09\011\011\x09\011\x09\011\x09\x3cifr\x61\155e\x20\x63la\x73s=\047\x52adWC\x6f\156t\x65ntFra\x6de\047\x20name\x3d\047" + name + "\x27 frame\x62\x6frder\x3d\x270\047\x20sty\x6c\x65=\047\x62ord\x65r:0px\x20\163o\x6cid gr\x65\145n\x3bwidth\x3a100%\x3bheigh\x74:10\x30%;\047\x20id\x3d\047\x52adW\x69ndo\x77Con\x74ent\x46ram\x65" + id + "\047\x20src=\047" + url + "\x27 border=\x27\x6eo\047\x20 ></\x69\x66ram\x65\076" + "\011\x09\011\x09\x09\011\x09</td>" + "\011\x09\011\011\x09\011\x09\074t\x64\040r\x6f\x77sp\x61\x6e=2\x20width=\x271\047\x20class\x3d\047\x52\141\x64\127W\x72appe\x72Bod\x79Righ\x74\047\x20nowr\x61p>&\x6ebsp\x3b</t\x64>" + "\011\x09\011\011\x09\011\x3c/tr>" + "\x09\011\x09\x09\011\x3ctr styl\x65=\047\x68\145i\x67\x68t:\x31\160x\x3b\047\x3e\074t\x64 clas\x73=\047\x52adW\x53\164a\x74usRo\x77\047\x3e" + "\x3cdiv cl\x61\x73s=\047\x52adWS\x74atus\047\x20styl\x65\x3d\047" + (this.ll ? "" : "\x64isplay:n\x6f\x6ee") + "\x27\x3e " + "\011\x09\011\x09\x09<sp\x61\x6e c\x6c\x61ss=\x27\x52ad\x57\x4coa\x64ingWr\x61\160p\x65\162\x27\x20s\x74\171l\x65=\047\x64isp\x6cay:\x6eone;\x77hite\x2dspac\x65:no\x77rap\x27 id=\x27Rad\x57ind\x6fwLo\x61din\x67Wr\x61ppe\x72" + id + "\x27>" + "\011\x09\011\x09\x09<img\x20\x61li\x67\x6e=\047\x61bsm\x69\144d\x6ce\047\x20src=\x27" + this.O19("\x6coadin\x67\x2egif") + "\x27\x20border=\x27\x30\047\x3e " + this.GetLocalizedString("\x4coading") + "\x3c/span> " + "\x09\x09\011\x09\011<\x69\x6eput\x20\x73ty\x6c\x65=\047\x66ont\x3aicon;b\x6frder:\x30\160x\x20solid\x20red;b\x61ckgr\x6f\165\x6ed-co\x6cor:\x74rans\x70aren\x74;\047\x20un\x73ele\x63tab\x6ce=\x27\157\x6e\047\x20ty\x70e=\x27tex\x74\047\x20o\x6ese\x6cec\x74=\047re\x74ur\x6e f\x61ls\x65;\x27 o\x6ebe\x66or\x65a\x63ti\x76a\x74e=\x27r\x65tu\x72n\x20f\x61ls\x65;\x27 \x6fn\x6do\x75s\x65do\x77n\x3d\x27re\x74u\x72n\x20\x66a\x6cs\x65;\x27 \x20i\x64\x3d\047R\x61d\x57S\x74\x61t\x75s" + id + "\x27/>" + "\011\x09\011</\x64\151v>\x3c\x2ftd\x3e\x3c/tr\x3e" + "\011\x09\011\011\x09</tb\x6f\x64y>\x3c\x2ftab\x6c\145>" + "\011\x09\011\x09\x3c/td>\x0a" + "\011\011\x09</tr>\x0a";
    html += "\011\x09\x09<tr>\012" + "\011\x09\011\011\x3ctd \x63\x6fls\x70\x61n=\x27\x38\047\x20widt\x68=\047\x3100%\047\x20he\x69\147h\x74=\047\x31\047\x3e" + "\x09\011\x09\x09\011\x3ctable\x20\142or\x64\145r\x3d\x270\047\x20wi\x64\164h\x3d\0471\x300%\047\x20hei\x67ht=\047\x31\047\x20ce\x6clsp\x61cing\x3d\047\x30\047\x20ce\x6clpad\x64ing\x3d\047\x30\047\x3e\x0a" + "\011\x09\x09\011\x09\011<\x74\x72>\012" + "\x09\011\011\x09\011\x09\011<\x74\144 \x77\x69dth\x3d\0471\x27\x20c\x6c\x61ss\x3d\047R\x61dWWr\x61\160p\x65rFoot\x65rLef\x74\047\x20now\x72\141\x70>&nb\x73p;<\x2ftd>\x0a" + "\x09\011\011\x09\011\x09\011<\x74d width\x3d\0471\x30\060%\x27\040\x63\154a\x73\163=\x27RadWW\x72apper\x46ooter\x43ente\x72\047\x20nowr\x61p>&\x6ebsp;\x3c/td\x3e\011\x09\012" + "\x09\011\x09\x09\011\x09\011\x3c\164d\x20\x77idt\x68\075\047\x31\047\x20cla\x73s=\047\x52adW\x57\162a\x70perFo\x6fterR\x69ght\047\040\x6eowra\x70>&nb\x73p;<\x2ftd>\x0a" + "\x09\011\x09\x09\011\x09\074/t\x72>\012" + "\011\x09\x09\011\x09</table\x3e\x0a" + "\x09\x09\011\x09</td>\012" + "\x09\x09\011\x3c\x2ftr>\x0a" + "\x09\011\x3c\x2ftb\x6f\x64y></\x74able>\012";
    return html;
};
;
RadWindowNamespace.I1c = function() {
};
RadWindowNamespace.o1d = {
    lx: RadWindowNamespace.I1c, Minimize: RadWindowNamespace.I1c, Maximize: RadWindowNamespace.I1c, Restore: RadWindowNamespace.I1c, TogglePin: RadWindowNamespace.I1c, SetModal: RadWindowNamespace.I1c, Cascade: RadWindowNamespace.I1c, Tile: RadWindowNamespace.I1c,
    SetUrl: function(url) {
        var iv = this.lr;
        try {
            iv.location.href = url;
        } catch(e) {
        }
        ;
    },
    Show: function(O16) {
        if (O16) this.Url = O16;
        var i17 = "w\x69dt\x68\x3d" + this.Width + "\x2c heig\x68\x74=" + this.Height + ", scroll\x62\x61rs=\x79\x65s" + "\x2c resiza\x62\x6ce=" + (this.Oy(RadWindowBehavior.O2) ? "yes" : "\x6eo");
        this.lr = window.open(this.Url, this.Name, i17);
        this.iy();
    },
    SetPosition: function(left, top) {
        if (this.lr) {
            this.lr.dialogLeft = left;
            this.lr.dialogTop = top;
        }
    },
    SetSize: function(width, height) {
        var iv = this.lr;
        if (iv) {
            if (iv.dialogWidth && iv.dialogHeight) {
                iv.dialogWidth = width;
                iv.dialogHeight = height;
            } else {
                iv.resizeTo(width, height);
            }
        }
    },
    Dispose: function() {
        this.Close();
        this.lr = null;
    },
    Close: function() { this.lr.close(); },
    l17: function() {
        if (false != setActive) this.lr.focus();
        else this.lr.blur();
    },
    GetWidth: function() {
        var iv = this.lr;
        if (iv) {
            if (iv.dialogWidth) return parseInt(iv.dialogWidth);
            else if (window.outerWidth) {
                return parseInt(window.outerWidth);
            } else {
                if (iv.document.domain == window.document.domain) {
                    var Iv = RadWindowNamespace.iw(iv);
                    if (Iv) return (Iv.width);
                }
            }
        }
        return 100;
    },
    SetWidth: function(width) {
        var ih = this.lr;
        if (ih) {
            if (ih.dialogWidth) {
                ih.dialogTop = ih.screenTop - 31;
                ih.dialogLeft = ih.screenLeft - 4;
                ih.dialogWidth = width + "\x70x";
            } else {
                ih.outerWidth = width;
            }
        }
    },
    GetHeight: function() {
        var iv = this.lr;
        if (iv) {
            if (iv.dialogHeight) return parseInt(iv.dialogHeight);
            else if (window.outerHeight) {
                return (parseInt(window.outerHeight));
            } else {
                if (iv.document.domain == window.document.domain) {
                    var Iv = RadWindowNamespace.iw(iv);
                    if (Iv) return (Iv.height + 30);
                }
            }
        }
        return 30;
    },
    SetHeight: function(height) {
        var ih = this.lr;
        if (ih.dialogWidth) {
            ih.dialogTop = ih.screenTop - 30;
            ih.dialogLeft = ih.screenLeft - 4;
            ih.dialogHeight = height + "\160\x78";
        } else {
            ih.outerHeight = height;
        }
    },
    IsVisible: function() {
        if (!this.ip && this.lr && !this.lr.closed) return true;
        return false;
    }
};
;

function RadWindowManagerInitialize(id, O1d, l1d, language, i1d, oh, I1d, o1e, O1e, Ob, lb, ib, Ib, oc, Oc, lc, ic, Ic, od, Od, ld, oe, Oe, le, Ie, of, Of, If, og, Og, l1e, i1e, lg, Ig) {
    var I1e = null;
    if (RadWindowNamespace.o1f) {
        if (RadWindowNamespace.o1f.Id == id) {
            var O1f = RadWindowNamespace.o1f.l1f;
            for (var i = 0; i < O1f.length; i++) {
                O1f[i].Dispose();
            }
        } else {
            I1e = RadWindowNamespace.o1f.l1f;
        }
        RadWindowNamespace.o1f.l1f = null;
        RadWindowNamespace.o1f = null;
    }
    var Oh = GetRadWindowManager();
    if (I1e) Oh.l1f = I1e;
    Oh.Id = id;
    Oh.i1f(l1d + "\x49\x6dg/transp.\x67\x69f");
    Oh.I1f = O1d;
    Oh.Io = l1d;
    Oh.I19 = I1d;
    Oh.o1g = i1d;
    Oh.Oo = eval("\x6cocalizati\x6f\x6e_" + (language ? language : "e\x6e\x5fUS"));
    Oh.oy = l1e;
    Oh.O1g = i1e;
    Oh.l1g = (o1e == true);
    RadWindowNamespace.C(window, "un\x6c\x6fad", Oh.RadWindowManagerDispose);
    if (Oh.l1g) {
        RadWindowNamespace.C(window, "l\x6f\x61d", RadWindowNamespace.i1g.I1g);
    }
    Oh.o1h();
    if (Oh.O1h) {
        Oh.O1h(O1e);
    }
    var ih = new RadWindowClass("");
    ih.oi = [];
    ih.Io = l1d;
    if (Ob) ih["OnClient\x53\x68ow"] = Ob;
    if (lb) ih["OnClien\x74\x43lose"] = lb;
    if (ib) ih["O\x6e\x43lientPa\x67\x65Loa\x64"] = ib;
    ih.ClientCallBackFunction = oh;
    ih.ii = Ib ? Ib : l1d + "Img/def\x61\x75ltIco\x6e\x2egif";
    ih.Ii = oc ? oc : ih.ii;
    ih.Width = Oc ? Oc : "500px";
    ih.Height = lc ? lc : "200p\x78";
    ih.oj("L\x65\x66t", ic, false);
    ih.oj("\x54op", Ic, false);
    ih.Oj = od;
    ih.lj = Od;
    ih.ij = ld;
    ih.Ij = oe;
    ih.ok = Oe;
    ih.ll = Ie;
    ih.il = of;
    ih.Il = Of;
    ih.On = le;
    ih.Oo = Oh.Oo;
    ih.Ok = If;
    ih.lk = og;
    ih.om = Og;
    ih.Om = lg;
    ih.oy = Oh.oy;
    ih.Im = Ig;
    Oh.l1h = ih;
}

RadWindowNamespace.o1f = null;

function GetRadWindowManager() {
    if (null == RadWindowNamespace.o1f) {
        RadWindowNamespace.o1f = new RadWindowManagerClass();
    }
    return RadWindowNamespace.o1f;
}

function RadWindowManagerClass() {
    this.l1f = [];
    this.i1h = [];
    this.I1h = { };
    this.o1i = false;
    this.i1c = 3000;
    this.O1i = "ra\x64\x57indow\x5f";
    this.ActiveWindow = null;
    this.I19 = false;
    this.Io = null;
    this.oy = true;
}

RadWindowManagerClass.prototype.lh = function(Oc, lc) {
    this.l1i = Oc ? Oc : this.l1h.Width;
    this.i1i = lc ? lc : this.l1h.Height;
    this.I1i();
};
RadWindowManagerClass.prototype.I1i = function(o1j) {
    var Oh = this;
    var O1j = Oh.l1j(Oh.l1h);
    var lu = document.getElementById("\x52adWSp\x6c\x61shHol\x64\x65r");
    lu.style.position = "absolute";
    lu.style.zIndex = "" + 5000;
    lu.innerHTML = O1j;
    if (false == o1j) {
        lu.style.display = "\156\x6f\x6ee";
    } else {
        lu.style.display = "";
        var o13 = document.body;
        o13.insertBefore(lu, o13.firstChild);
        var Oc = this.l1i;
        var lc = this.i1i;
        var i1j = function() {
            var Iv = RadWindowNamespace.i4(lu);
            var lw = RadWindowNamespace.iw();
            var I1j = 50 - Math.floor((parseInt(Oc) * 100 / lw.width) / 2);
            var o1k = 50 - Math.ceil((parseInt(lc) * 100 / lw.height) / 2);
            lu.style.left = I1j + "%";
            lu.style.top = o1k + "\x25";
        };
        i1j();
        if (!this.O1k) {
            this.O1k = true;
            RadWindowNamespace.C(window, "re\x73\x69ze", i1j);
            RadWindowNamespace.C(window, "s\x63\x72oll", i1j);
            RadWindowNamespace.C(window, "\154o\x61\x64", function() { window.setTimeout(function() { lu.innerHTML = ""; }, 200); });
        }
    }
    return lu;
};
RadWindowManagerClass.prototype.RadWindowManagerDispose = function() {
    var Oh = GetRadWindowManager();
    if (Oh.l1g && RadWindowNamespace.i1g) {
        RadWindowNamespace.i1g.l1k();
    }
    try {
        Oh.i1k("\x44ispose");
    } catch(e) {
    }
    Oh.l1f = null;
    Oh.i1h = null;
    Oh.I1h = null;
    Oh.ActiveWindow = null;
};
RadWindowManagerClass.prototype.i1f = function(I1k) {
    if (this.o1i) return;
    if (I1k) {
        var i8 = RadWindowNamespace.I7();
        if (i8) {
            i8.src = I1k;
        }
    }
    this.o1i = true;
};
RadWindowManagerClass.prototype.Open = function(url, o1l) {
    var Oh = this;
    var iv = Oh.GetWindowByName(o1l);
    if (!iv) {
        iv = Oh.Ih(o1l);
    }
    if (Oh.o1g) {
        iv.Show(url);
    } else {
        iv.Show();
        if (url) iv.SetUrl(url);
    }
    return iv;
};
RadWindowManagerClass.prototype.Ih = function(id) {
    var zIndex = this.O1l();
    if (!id) id = "\x52adW\x69\x6edowCla\x73\163" + zIndex;
    var newWnd = new RadWindowClass(id);
    newWnd.i1c = zIndex;
    this.l1f[this.l1f.length] = newWnd;
    var l1l = this.O1i + newWnd.Id;
    eval("\x77indow." + l1l + "\x20= new\x57\x6ed");
    var i1l = this.l1h;
    if (i1l) {
        for (var item in i1l) {
            if ("\x66\x75nction" != typeof(i1l[item])) newWnd[item] = i1l[item];
        }
    }
    if (this.o1g) {
        Object.Extend(newWnd, RadWindowNamespace.o1d);
    }
    newWnd.Id = id;
    newWnd.Name = id;
    newWnd.Oi = l1l;
    newWnd.oi = [];
    return newWnd;
};
RadWindowManagerClass.prototype.O1l = function() {
    var I1l = this.i1c;
    var o1m = this.l1f;
    var Ov = o1m.length;
    for (var i = 0; i < Ov; i++) {
        iv = o1m[i];
        if (iv.lq && iv.lq.style.zIndex > I1l) {
            I1l = iv.lq.style.zIndex;
        }
    }
    iv = null;
    return (this.i1c = ++I1l);
};
RadWindowManagerClass.prototype.O1m = function(l1m, text) {
    var iv = this.Ih(l1m);
    iv.Ij = RadWindowBehavior.Close + RadWindowBehavior.W;
    iv.ij = RadWindowBehavior.Oa;
    iv.ok = RadWindowClass.prototype.ok;
    iv.lj = "";
    iv.Ok = "";
    iv.lk = "";
    iv.ll = false;
    iv.om = true;
    iv.lx();
    iv.SetTitle(iv.GetLocalizedString(l1m));
    iv.SetModal(true);
    var i1m = { Text: text };
    var O1j = this.I1m(l1m + "Tem\x70late", this.l1h, i1m);
    if (O1j) {
        iv.SetContent(O1j);
    }
    return iv;
};
RadWindowManagerClass.prototype.l1j = function(radWindow) { return this.I1m("SplashTempl\x61\x74e", radWindow); };
RadWindowManagerClass.prototype.o1n = function(radWindow) { return this.I1m("Minimiz\x65\x54empla\x74\x65", radWindow); };
RadWindowManagerClass.prototype.I1m = function(O1n, radWindow, i1m) {
    var lu = document.getElementById("\x52\x61dWindow\x4d\x61nag\x65\x72" + O1n);
    var l1n = RadWindowNamespace.i1n(lu.value, false);
    l1n = RadWindowNamespace.I1n(RadWindowNamespace.o1o(l1n), radWindow.Id, radWindow.Oi, this.Io, radWindow.Ii, radWindow.Oj, "", i1m ? i1m.Text : "");
    return l1n;
};
RadWindowManagerClass.prototype.O1o = function() {
    var iu = this.l1f.concat([]);
    var l1o = function(i1o, I1o) {
        if (i1o.i1c == i1o.i1c) return 0;
        return (i1o.i1c < i1o.i1c ? -1 : 1);
    };
    return iu.sort(l1o);
};
RadWindowManagerClass.prototype.o1p = function(iu, O1p) {
    if (!iu || iu.length < 1) return;
    for (var i = 0; i < iu.length; i++) {
        if (iu[i] == O1p) {
            iu.splice(i, 1);
            return;
        }
    }
};
RadWindowManagerClass.prototype.l1p = function(iu, O1p) {
    if (!iu) return;
    iu[iu.length] = O1p;
};
RadWindowManagerClass.prototype.GetActiveWindow = function() { return this.ActiveWindow; };
RadWindowManagerClass.prototype.O17 = function(radWindow) {
    var i1p = this.ActiveWindow;
    this.ActiveWindow = radWindow;
    if (i1p && i1p != radWindow) {
        i1p.l17(false);
    }
    this.ActiveWindow.l17(true);
    if (this.I19) {
        this.MinimizeInactiveWindows();
    }
    this.o1p(this.i1h, this.ActiveWindow);
    this.l1p(this.i1h, this.ActiveWindow);
};
RadWindowManagerClass.prototype.FocusNextWindow = function(I1p) {
    var o1q = function(O1q, Oh) {
        if (O1q && O1q.Oq && !O1q.IsClosed() && (!O1q.IsMinimized() || Oh.I19)) {
            O1q.SetActive(true);
            return true;
        }
        return false;
    };
    if (null != I1p) {
        this.o1p(this.i1h, I1p);
        var O1q = this.i1h.length > 0 ? this.i1h[this.i1h.length - 1] : null;
        if (O1q) {
            var l1q = o1q(O1q, this);
            if (l1q) return;
        }
    }
    var iv = this.ActiveWindow;
    var iu = this.l1f.concat([]);
    if (!iv) {
        o1q(iu[0], this);
    } else {
        var i1q = 0;
        var I1q = false;
        var i = 0;
        for (; i < iu.length; i++) {
            if (iv == iu[i]) {
                i1q = i;
                I1q = true;
                break;
            }
        }
        if (I1q) {
            var o1r = function(O1r, l1r, Oh) {
                for (var i1r = O1r; i1r < l1r; i1r++) {
                    var l1q = o1q(iu[i1r], Oh);
                    if (l1q) return true;
                }
            };
            var I1r = o1r(i + 1, iu.length, this);
            if (!I1r) o1r(0, i1q, this);
        }
    }
};
RadWindowManagerClass.prototype.o1a = function(iv) {
    if (!iv) return;
    this.o1p(this.l1f, iv);
    this.o1p(this.i1h, iv);
    if (iv.Dispose) iv.Dispose();
    if (iv == this.ActiveWindow) this.ActiveWindow = null;
};
RadWindowManagerClass.prototype.GetWindowById = function(id) {
    var o1m = this.l1f;
    for (var i = 0; i < o1m.length; i++) {
        var iv = o1m[i];
        if (name == iv.Id) {
            if (!iv.Oq) iv.lx();
            return iv;
        }
    }
    return null;
};
RadWindowManagerClass.prototype.GetWindowByName = function(name) {
    var o1m = this.l1f;
    for (var i = 0; i < o1m.length; i++) {
        var iv = o1m[i];
        if (name == iv.Name) {
            if (!iv.Oq) iv.lx();
            return iv;
        }
    }
    return null;
};
RadWindowManagerClass.prototype.GetWindowObjects = function() { return this.l1f; };
RadWindowManagerClass.prototype.GetWindows = function() { return this.l1f; };
RadWindowManagerClass.prototype.Cascade = function() {
    var Ic = 40;
    var ic = 40;
    var iu = this.O1o();
    for (var i = 0; i < iu.length; i++) {
        var iv = iu[i];
        if (!iv.ip && iv.Oq) {
            var o1s = iv.Restore();
            iv.MoveTo(Ic, ic);
            RadWindowNamespace.I16(iv.lq);
            Ic += 25;
            ic += 25;
        }
    }
    ;
};
RadWindowManagerClass.prototype.Tile = function() {
    var iu = this.O1o();
    var Ov = 0;
    for (var i = 0; i < iu.length; i++) {
        var O1s = iu[i];
        if (!O1s.ip && O1s.Oq) {
            Ov++;
        }
    }
    var l1s = 5;
    var i1s = 0;
    var I1s = 1;
    if (Ov <= l1s) {
        i1s = Ov;
    } else {
        var i = 2;
        while ((Ov * i) < (l1s * (i + 1))) {
            i++;
            if (i > 6) break;
        }
        I1s = i;
        i1s = Math.ceil(Ov / I1s);
    }
    var lw = RadWindowNamespace.iw();
    var o1t = Math.floor(lw.width / i1s);
    var O1t = Math.floor(lw.height / I1s);
    var left = RadWindowNamespace.l9(document);
    var top = RadWindowNamespace.O9(document);
    var l1t = 0;
    for (var i = 0; i < iu.length; i++) {
        var O1s = iu[i];
        if (!O1s.ip && O1s.Oq) {
            l1t++;
            if ((l1t - 1) % (i1s) == 0 && l1t > i1s) {
                top += O1t;
                left = RadWindowNamespace.l9(document);
            }
            O1s.Restore();
            O1s.MoveTo(left, top);
            O1s.SetSize(o1t, O1t);
            left += o1t;
        }
    }
};
RadWindowManagerClass.prototype.Fire = function(i1t) {
    if (this[i1t] && "\x66u\x6e\x63tion" == typeof(this[i1t])) {
        this[i1t]();
    }
};
RadWindowManagerClass.prototype.MinimizeInactiveWindows = function() {
    var I1t = this.ActiveWindow;
    var o1u = this.l1f;
    var l13 = o1u.length;
    for (var i = 0; i < l13; i++) {
        var O1s = o1u[i];
        if (O1s != I1t) O1s.Minimize();
    }
};
RadWindowManagerClass.prototype.EscapeActiveWindow = function() {
    var iv = this.GetActiveWindow();
    if (iv) {
        var Oz = iv.lq;
        if (Oz.M() || Oz.m()) {
            Oz.l1();
        } else {
            iv.Close();
        }
    }
};
RadWindowManagerClass.prototype.O1u = function(i1t) {
    if (this.ActiveWindow && "fun\x63\x74ion" == typeof(this.ActiveWindow[i1t])) {
        this.ActiveWindow[i1t]();
    }
};
RadWindowManagerClass.prototype.CloseActiveWindow = function() { this.O1u("\x43lose"); };
RadWindowManagerClass.prototype.MinimizeActiveWindow = function() { this.O1u("\x4dinimiz\x65"); };
RadWindowManagerClass.prototype.RestoreActiveWindow = function() { this.O1u("\x52estore"); };
RadWindowManagerClass.prototype.ToggleMaximizeActiveWindow = function() { this.O1u("T\x6f\x67gleMaxi\x6d\x69ze"); };
RadWindowManagerClass.prototype.CloseAll = function() { this.i1k("Close"); };
RadWindowManagerClass.prototype.ShowAll = function() { this.i1k("Show"); };
RadWindowManagerClass.prototype.MinimizeAll = function() { this.i1k("Minimize"); };
RadWindowManagerClass.prototype.MaximizeAll = function() { this.i1k("M\x61\170\x69\x6dize"); };
RadWindowManagerClass.prototype.RestoreAll = function() { this.i1k("Restor\x65"); };
RadWindowManagerClass.prototype.i1k = function(l1u) {
    if (!this.l1f) return;
    var iu = this.l1f.concat([]);
    for (var i = 0; i < iu.length; i++) {
        iu[i][l1u]();
    }
};
;
RadWindowManagerClass.prototype.o1h = function() {
    var Oh = this;
    window.radopen = function(url, o1l) {
        var i1u = function() {
            var iv = Oh.Open(url, o1l);
            return iv;
        };
        if (!RadWindowNamespace.I1u()) {
            RadWindowNamespace.C(window, "\154oad", i1u);
            return null;
        } else {
            return i1u();
        }
    };
    o1v = function(o11) {
        if (this.Close != RadWindowClass.prototype.Close) this.Close = RadWindowClass.prototype.Close;
        this.Close();
        if (this.O1v) {
            this.O1v(o11, this.l1v);
        }
        this.Argument = null;
    };
    window.radsplash = function(o1j) { return Oh.I1i(o1j); };
    window.radalert = function(text, Oc, lc, od) {
        if (!Oh.O1g) {
            alert(text);
        } else {
            var i1v = function() {
                if (!Oc) Oc = 280;
                if (!lc) lc = 200;
                var iv = Oh.O1m("A\x6cert", text);
                iv.WindowToSetActive = Oh.GetActiveWindow();
                if (typeof(od) != "\x75\x6edefine\x64") {
                    iv.SetTitle(od);
                }
                iv.SetSize(Oc, lc);
                iv["\x4f\156Cl\x69\x65ntSh\x6f\x77"] = function() {
                    iv.ls();
                    iv.Center();
                };
                window.setTimeout(function() { iv.Show(); }, 0);
                return iv;
            };
            if (!RadWindowNamespace.I1u()) {
                RadWindowNamespace.C(window, "load", i1v);
                return null;
            } else {
                return i1v();
            }
        }
    };
    window.radprompt = function(text, I1v, Oc, lc, o1w, od) {
        if (!Oh.O1g) {
            return prompt(text);
        } else {
            var O1w = function() {
                if (!Oc) Oc = 280;
                if (!lc) lc = 210;
                var iv = Oh.O1m("\x50rompt", text);
                iv.O1v = I1v;
                iv.l1v = o1w;
                iv.WindowToSetActive = Oh.GetActiveWindow();
                if (typeof(od) != "undef\x69\x6eed") {
                    iv.SetTitle(od);
                }
                iv.SetSize(Oc, lc);
                iv["O\x6e\x43lient\x53\x68ow"] = function() {
                    iv.ls();
                    iv.Center();
                };
                window.setTimeout(function() { iv.Show(); }, 0);
                iv.Close = function(o11) {
                    if (null == o11) o11 = "";
                    iv.Close = RadWindowClass.prototype.Close;
                    iv.ModalDialogCallBack(o11);
                };
                iv.ModalDialogCallBack = o1v;
                return iv;
            };
            if (!RadWindowNamespace.I1u()) {
                RadWindowNamespace.C(window, "\x6coad", O1w);
                return null;
            } else {
                return O1w();
            }
        }
    };
    window.radconfirm = function(text, I1v, Oc, lc, o1w, od) {
        if (!Oh.O1g) {
            return confirm(text);
        } else {
            var l1w = function() {
                if (!Oc) Oc = 280;
                if (!lc) lc = 210;
                var iv = Oh.O1m("\x43onfirm", text);
                iv.O1v = I1v;
                iv.l1v = o1w;
                iv.WindowToSetActive = Oh.GetActiveWindow();
                if (typeof(od) != "u\x6e\x64efined") {
                    iv.SetTitle(od);
                }
                iv.SetSize(Oc, lc);
                iv["OnClie\x6e\x74Show"] = function() {
                    iv.ls();
                    iv.Center();
                };
                window.setTimeout(function() { iv.Show(); }, 0);
                iv.Close = function(o11) {
                    if (null == o11) o11 = false;
                    iv.Close = RadWindowClass.prototype.Close;
                    iv.ModalDialogCallBack(o11);
                };
                iv.ModalDialogCallBack = o1v;
                return iv;
            };
            if (!RadWindowNamespace.I1u()) {
                RadWindowNamespace.C(window, "\x6coad", l1w);
                return null;
            } else {
                return l1w();
            }
        }
    };
};
;
RadWindowManagerClass.prototype.O1h = function(O1e) {
    try {
        this.i1w = { };
        Object.Extend(this.i1w, RadWindowNamespace.I1w);
        for (var i = 0; i < O1e.length; i++) {
            this.AddShortcut(O1e[i][0], O1e[i][1]);
        }
        var Oh = this;
        RadWindowNamespace.C(document, "keydown", function(F) { Oh.OnKeyDown(F); });
    } catch(e) {
        ;
    }
    ;
};
RadWindowManagerClass.prototype.OnKeyDown = function(F) {
    var srcElement = RadWindowNamespace.i2(F);
    if (this.i1w && srcElement) {
        var o1x = this.i1w.HitTest(F.keyCode, F.ctrlKey, (null != F.ctrlLeft ? F.ctrlLeft : F.ctrlKey), F.shiftKey, (null != F.shiftLeft ? F.shiftLeft : F.shiftKey), F.altKey, (null != F.altLeft ? F.altLeft : F.altKey));
        if (null != o1x) {
            this.Fire(o1x.Name);
            RadWindowNamespace.RadUtil_CancelEvent(F);
        }
    }
};
RadWindowManagerClass.prototype.AddShortcut = function(O1x, l1x) {
    if (this.i1w) {
        this.i1w.AddShortcut(O1x, l1x);
    }
};
RadWindowManagerClass.prototype.i1x = function(O1x) {
    if (this.i1w) {
        this.i1w.i1x(O1x);
    }
};
RadWindowManagerClass.prototype.I1x = function(O1x, l1x) {
    if (this.i1w) {
        this.i1w.I1x(O1x, l1x);
    }
};
RadWindowNamespace.I1w = {
    o1y: [], Dispose: function() { this.o1y = null; },
    AddShortcut: function(O1x, l1x) {
        var O1y = new RadWindowNamespace.l1y(O1x, l1x);
        O1y.i1y = this.I1y(O1y);
        this.o1y[O1y.i1y] = O1y;
    },
    i1x: function(O1x) {
        var o1z = this.O1z(O1x);
        if (o1z) {
            this.o1y[o1z.i1y] = null;
        }
    },
    I1x: function(O1x, l1x) {
        this.i1x(O1x);
        this.AddShortcut(O1x, l1x);
    },
    HitTest: function(keyCode, ctrlKey, l1z, shiftKey, i1z, altKey, I1z) {
        var o20 = this.O20(keyCode, ctrlKey, l1z, shiftKey, i1z, altKey, I1z);
        return this.o1y[o20];
    },
    O20: function(keyCode, ctrlKey, l1z, shiftKey, i1z, altKey, I1z) {
        var value = keyCode & 65535;
        var l20 = 0;
        l20 |= (ctrlKey ? RadWindowNamespace.i20 : 0);
        l20 |= (shiftKey ? RadWindowNamespace.I20 : 0);
        l20 |= (altKey ? RadWindowNamespace.o21 : 0);
        value |= (l20 << 16);
        return value;
    },
    I1y: function(O21) { return this.O20(O21.l21, O21.i21, O21.I21, O21.o22, O21.O22, O21.l22, O21.i22); },
    O1z: function(O1x) {
        var o1z;
        for (var I22 in this.o1y) {
            o1z = this.o1y[I22];
            if (null != o1z && o1z.Name == O1x) {
                return o1z;
            }
        }
        return null;
    }
};
RadWindowNamespace.i20 = (1 << 0);
RadWindowNamespace.i20 = (1 << 1);
RadWindowNamespace.I20 = (1 << 2);
RadWindowNamespace.o21 = (1 << 3);
RadWindowNamespace.o21 = (1 << 4);
RadWindowNamespace.o23 = (1 << 5);
RadWindowNamespace.l1y = function(O1x, l1x) {
    this.i21 = false;
    this.o22 = false;
    this.l22 = false;
    this.l21 = 0;
    this.Name = O1x;
    this.O23(l1x);
};
RadWindowNamespace.l1y.prototype.O23 = function(l1x) {
    if ("s\x74\x72\x69ng" == typeof(l1x)) {
        this.i21 = false;
        this.I21 = false;
        this.o22 = false;
        this.O22 = false;
        this.l22 = false;
        this.i22 = false;
        this.l21 = 0;
        l1x = l1x.replace( /\s*/gi , "");
        l1x = l1x.replace( /\x2b\x2b/gi , "\x2bPLUS");
        var l23 = l1x.split("+");
        var i23 = "";
        for (var i = 0; i < l23.length; i++) {
            i23 = l23[i].toUpperCase();
            switch (i23) {
            case "LCTRL":
                this.I21 = true;
            case "\x43TRL":
                this.i21 = true;
                break;
            case "L\x53\x48IFT":
                this.O22 = true;
            case "\x53HIFT":
                this.o22 = true;
                break;
            case "LALT":
                this.i22 = true;
            case "ALT":
                this.l22 = true;
                break;
            case "\x461":
                this.l21 = 112;
                break;
            case "\106\x32":
                this.l21 = 113;
                break;
            case "\x46\x33":
                this.l21 = 114;
                break;
            case "F4":
                this.l21 = 115;
                break;
            case "\x465":
                this.l21 = 116;
                break;
            case "\x466":
                this.l21 = 117;
                break;
            case "\x46\x37":
                this.l21 = 118;
                break;
            case "F8":
                this.l21 = 119;
                break;
            case "\x469":
                this.l21 = 120;
                break;
            case "\x4610":
                this.l21 = 121;
                break;
            case "\10611":
                this.l21 = 122;
                break;
            case "F12":
                this.l21 = 123;
                break;
            case "\x45NTER":
                this.l21 = 13;
                break;
            case "\x48OME":
                this.l21 = 36;
                break;
            case "E\x4e\x44":
                this.l21 = 35;
                break;
            case "\x4cEFT":
                this.l21 = 37;
                break;
            case "\122IG\x48\x54":
                this.l21 = 39;
                break;
            case "UP":
                this.l21 = 38;
                break;
            case "\x44OWN":
                this.l21 = 40;
                break;
            case "\x50\x41GEUP":
                this.l21 = 33;
                break;
            case "PAGE\x44\x4fWN":
                this.l21 = 34;
                break;
            case "SPACE":
                this.l21 = 32;
                break;
            case "TAB":
                this.l21 = 9;
                break;
            case "BACK":
                this.l21 = 8;
                break;
            case "\x43ONTEXT":
                this.l21 = 93;
                break;
            case "\x45SCAPE":
            case "ESC":
                this.l21 = 27;
                break;
            case "DELET\x45":
            case "\x44EL":
                this.l21 = 46;
                break;
            case "IN\x53\x45RT":
            case "\x49\x4eS":
                this.l21 = 45;
                break;
            case "PLUS":
                this.l21 = "+".charCodeAt(0);
                break;
            default:
                this.l21 = i23.charCodeAt(0);
                break;
            }
        }
    } else {
        throw { description: "\x49\x6evalid \x73hortcut\x20\x73t\x72ing" };
    }
};
;
RadWindowNamespace.Iz = function(ih) {
    this.Window = ih;
    this.Id = ih.Id;
    var Oh = GetRadWindowManager();
    var O1j = Oh.o1n(ih);
    var I23 = document.createElement("\x64iv");
    I23.innerHTML = O1j;
    document.body.appendChild(I23);
    this.o24 = (I23.childNodes.length == 1) ? I23.firstChild : I23;
    var o18 = this;
    var O24 = function() { o18.SetVisible(false); };
    var Ow = this.o24;
    if (Ow) {
        Ow.setAttribute("\x69\x64", "Ra\x64\x57Minimiz\x65\x64" + this.Id);
        Ow.className = "\x52\x61dWMini\x6d\x69zedA\x63\x74iv\x65";
        Ow.onmouseover = function() {
            this.l24 = this.className;
            this.className = "R\x61\x64WMinimi\x7a\145\x64\x4fve\x72";
        };
        Ow.onmouseout = function() { this.className = this.l24; };
    }
    var i24 = o18.I24("R\x61\x64WMinim\x69\x7aedT\x69\x74le");
    if (i24) {
        o18.iq = i24;
    }
    var o25 = o18.I24("RadWMinim\x69\x7aedCl\x6f\x73e");
    if (o25) {
        if (!ih.Oy(RadWindowBehavior.Close)) {
            o25.style.display = "\x6eone";
        } else {
            o25.onclick = function(e) { ih.Close(); };
        }
    }
    if (ih.iz(RadWindowMinimizeMode.I9)) {
        var O25 = o18.I24("\122\x61dWMinimiz\x65\x64Res\x74\157r\x65");
        if (O25) O25.style.display = "no\x6e\x65";
        this.o24.onclick = function() {
            if (ih.IsClosed()) return;
            if (!ih.IsVisible()) {
                ih.Show();
            }
            ih.SetActive(true);
            Ow.l24 = Ow.className = "RadWMinim\x69\x7aedA\x63\x74ive";
        };
        ih.AttachClientEvent("\x6fnshow", this.l25);
    } else {
        var O25 = o18.I24("RadWMinimiz\x65\x64Res\x74\x6fre");
        if (O25) O25.onclick = function() { o18.i25(); };
        this.o24.ondblclick = function() { o18.i25(); };
        if (this.o24.tagName == "\124AB\x4c\x45" && this.o24.rows.length > 0) {
            var I25 = this.o24.rows[0].cells[1];
            if (I25) {
                I25.setAttribute("\147r\x69\x70", "\x74rue");
                I25.setAttribute("t\x69\x74leGrip", "\163how");
            }
        }
        RadWindowNamespace.o(this.o24, A = true, U = true, Z = false, ih.Oy(RadWindowBehavior.W));
        Ow.K = function() {
            var Iv = this.l0();
            var o26 = ih.Ou;
            if (o26) {
                o26.top = Iv.top;
                o26.left = Iv.left;
            }
        };
        ih.AttachClientEvent("\x6fnmaximize", O24);
        ih.AttachClientEvent("onrest\x6f\x72e", O24);
    }
    ih.AttachClientEvent("o\x6e\x63lose", O24);
    ih.AttachClientEvent("o\x6e\x6dinimize", this.l25);
    ih.AttachClientEvent("onacti\x76\x61te", function() { o18.l17(true); });
    ih.AttachClientEvent("ondeacti\x76\x61te", function() { o18.l17(false); });
    ih.AttachClientEvent("onwindow\x6c\x6fad", function() {
        if (o18.iq) o18.iq.innerHTML = ih.Oj;
        var Ow = o18.o24;
        if ("n\x6f\x6ee" != Ow.style.display) {
            if (!o18.O26 && !ih.IsVisible()) {
                o18.l26 = 0;
                o18.O26 = window.setInterval(function() {
                    o18.o24.className = ((o18.l26++) % 2 == 0) ? "RadWMin\x69mizedAct\x69\x76e" : "\122\x61\x64WMini\x6d\x69zedP\x61geLoade\x64";
                    if (11 == o18.l26) {
                        window.clearInterval(o18.O26);
                        o18.O26 = null;
                        o18.l26 = 0;
                    }
                }, 500);
            }
        }
    });
};
RadWindowNamespace.Iz.prototype = {
    I24: function(name) { return document.getElementById(name + this.Id); },
    Dispose: function(i26) {
        this.Window = null;
        var Ow = this.o24;
        Ow.ondblclick = null;
        Ow.onclick = null;
        Ow.I3 = null;
        Ow.K = null;
        if (Ow.parentNode && Ow.parentNode.removeChild) {
            Ow.parentNode.removeChild(Ow);
            Ow.removeAttribute("\x69d");
        }
        this.o24 = null;
    },
    l25: function(ih) {
        var O1c = ih.ok;
        var o18 = ih.Or;
        if (o18.iq) o18.iq.innerHTML = ih.Oj;
        if (!(RadWindowMinimizeMode.i9 == O1c)) {
            if (ih.lj) {
                var I26 = document.getElementById(ih.lj);
                if (I26) {
                    var o27 = o18.o24;
                    if (o27.parentNode != I26) {
                        o27.parentNode.removeChild(o27);
                        I26.appendChild(o27);
                        o27.style.position = "";
                    }
                    o27.style.display = "i\x6eline";
                }
                return;
            }
        }
        var Iv = ih.ow();
        var x = null, y = null;
        if (!Iv) {
            var Iv = o18.Window.lz();
            x = Iv.left;
            y = Iv.top;
        } else {
            x = Iv.left;
            y = Iv.top;
        }
        if (o18.o24.MoveTo) {
            o18.o24.MoveTo(x, y);
        }
        o18.SetVisible(true);
        o18.O27();
    },
    i25: function() {
        var ih = this.Window;
        var l27 = this.o24;
        var Iv = l27.l0();
        var o26 = ih.Ou;
        if (o26) {
            o26.top = Iv.top;
            o26.left = Iv.left;
            ih.Restore();
        } else {
            if (!ih.IsVisible()) ih.Show();
            ih.SetSize(ih.Width, ih.Height);
            ih.MoveTo(Iv.left, Iv.top);
            ih.SetActive(true);
        }
        l27.Hide();
    },
    l17: function(setActive) {
        var Ow = this.o24;
        if ("\x6eone" == Ow.style.display) return;
        if (setActive) {
            if (this.Window.iz(RadWindowMinimizeMode.I9)) {
                if (!this.Window.IsVisible()) this.Window.Show();
            } else {
                RadWindowNamespace.I16(Ow);
            }
        }
        Ow.className = setActive ? "\x52adWMinimized\x41\x63tiv\x65" : "RadWM\x69\x6eimized\x49\x6eact\x69\x76e";
    },
    O27: function() { RadWindowNamespace.l1a(this.Window.IsPinned(), this.o24); },
    SetVisible: function(i26) {
        var Ow = this.o24;
        if (i26) {
            if (Ow.Show) Ow.Show();
            else Ow.style.display = "";
            var Iv = Ow.l0();
            Ow.SetSize(Iv.width, Iv.height, false);
        } else {
            if (Ow.Hide) Ow.Hide();
            else Ow.style.display = "\x6e\157\x6e\x65";
        }
    }
};
;
RadWindowNamespace.i27 = function() {
    if (!RadWindowNamespace.I27) {
        var img = document.createElement("IMG");
        img.src = GetRadWindowManager().Io + "Img/transp.\x67if";
        img.setAttribute("unselectabl\x65", "on");
        img.setAttribute("gall\x65\x72yimg", "no");
        img.onselectstart = RadWindowNamespace.RadUtil_CancelEvent;
        img.ondragstart = RadWindowNamespace.RadUtil_CancelEvent;
        img.onmouseover = RadWindowNamespace.RadUtil_CancelEvent;
        img.onmousemove = RadWindowNamespace.RadUtil_CancelEvent;
        img.onmouseup = RadWindowNamespace.RadUtil_CancelEvent;
        img.style.position = "\x61bsolute";
        img.className = "\x52adWModa\x6c\x49mage";
        RadWindowNamespace.I27 = img;
    }
    return RadWindowNamespace.I27;
};
RadWindowNamespace.o28 = function() {

    function O28() {
        var l28 = RadWindowNamespace.i27();
        if (l28.style.display == "\x6e\x6fne") return;
        var scrollLeft = (document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft);
        var scrollTop = (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop);
        var clientWidth;
        if (window.innerWidth) {
            clientWidth = Math.min(window.innerWidth, document.documentElement.clientWidth);
        } else {
            clientWidth = Math.max(document.body.clientWidth, document.documentElement.clientWidth);
        }
        var clientHeight;
        if (window.innerHeight) {
            clientHeight = Math.max(window.innerHeight, document.documentElement.clientHeight);
        } else {
            if (document.documentElement.clientHeight > 0) clientHeight = document.documentElement.clientHeight;
            else clientHeight = document.body.clientHeight;
        }
        l28.style.left = scrollLeft + "px";
        l28.style.top = scrollTop + "p\x78";
        l28.style.width = clientWidth + "px";
        l28.style.height = clientHeight + "\160\x78";
        var ih = GetRadWindowManager().GetActiveWindow();
        if (!ih.IsModal()) return;
        if (!ih.Top && !ih.Left) {
            ih.Center();
        }
    }

    ;
    if (!RadWindowNamespace.i28) {
        RadWindowNamespace.I28 = O28;
        RadWindowNamespace.o29 = O28;
        RadWindowNamespace.C(window, "\x72esize", RadWindowNamespace.I28);
        RadWindowNamespace.C(window, "sc\x72\x6fll", RadWindowNamespace.o29);
        RadWindowNamespace.i28 = true;
    }
    var iv = GetRadWindowManager().GetActiveWindow();
    var l8 = iv.lq;
    var i8 = RadWindowNamespace.i27();
    if (l8 && l8.style.zIndex) {
        if (null != document.readyState && "\143om\x70\x6cete" != document.readyState) {
            return;
        } else {
            if (i8.parentNode != document.body) document.body.appendChild(i8);
            var zIndex = parseInt(l8.style.zIndex) + 1;
            i8.style.display = "";
            window.setTimeout(function() {
                if (!iv.IsActive()) return;
                i8.style.zIndex = "" + (zIndex + (document.all ? 0 : -3));
                l8.style.zIndex = "" + zIndex;
                if (iv && iv.lq) {
                    iv.lq.Show();
                }
            }, 100);
        }
    }
    RadWindowNamespace.I28();
};
RadWindowNamespace.O29 = function() { if (RadWindowNamespace.I27) this.I27.style.display = "none"; };
RadWindowNamespace.RadWindowModal = function(ih) {
    this.Window = ih;
    var o18 = this;
    var l29 = function() { o18.l17(true); };
    ih.AttachClientEvent("o\x6eactivate", l29);
    ih.AttachClientEvent("on\x72\x65store", l29);
    var Ox = function() { o18.l17(false); };
    ih.AttachClientEvent("\x6f\x6eclose", Ox);
    ih.AttachClientEvent("\x6fnminimiz\x65", Ox);
    ih.i16 = function(o1c) { ih.lq.className = o1c ? "\x52adWWrapperM\x6f\x64al" : "\x52\x61dWWra\x70\x70erIn\x61\x63ti\x76e"; };
    this.i29 = [];
};
RadWindowNamespace.RadWindowModal.prototype.Dispose = function() {
    this.Window = null;
    this.i29 = null;
};
RadWindowNamespace.RadWindowModal.prototype.l17 = function(o1c) {
    var Oh = this.Window.GetWindowManager();
    if (o1c && !this.Window.ip) {
        if (this.Window.Op && !this.Window.iz(RadWindowMinimizeMode.I9)) {
            return;
        }
        RadWindowNamespace.o28(this.Window);
        this.I29();
        if (Oh && Oh.AddShortcut) {
            Oh.DisableTabKey = function() {
            };
            Oh.AddShortcut("\x44isableTab\x4b\x65y", "TAB");
        }
    } else {
        if (Oh && Oh.AddShortcut) {
            Oh.DisableTabKey = null;
            Oh.i1x("Disab\x6c\x65TabK\x65\x79");
        }
        RadWindowNamespace.O29();
        this.o2a();
    }
};
RadWindowNamespace.RadWindowModal.prototype.I29 = function() {
    if (this.Window.IsIE && !this.O2a) {
        this.i29 = [];
        var l2a = document.getElementsByTagName("SELECT");
        for (var i = 0; i < l2a.length; i++) {
            this.i29[i] = { i2a: l2a[i], isDisabled: l2a[i].disabled };
            l2a[i].setAttribute("disabled", "true");
        }
        this.O2a = true;
    }
};
RadWindowNamespace.RadWindowModal.prototype.o2a = function() {
    if (this.Window.IsIE) {
        this.O2a = false;
        for (var i = 0; i < this.i29.length; i++) {
            var I2a = this.i29[i];
            I2a.i2a.setAttribute("disab\x6ced", I2a.isDisabled);
        }
    }
};
;
RadWindowNamespace.i1g = {
    l1k: function() {
        var Oh = GetRadWindowManager();
        var O1f = Oh.GetWindowObjects();
        for (i = 0; i < O1f.length; i++) {
            var iv = O1f[i];
            var o2b = (iv.IsVisible() || iv.IsMinimized()) + "\x40" + iv.GetWidth() + "@" + iv.GetHeight() + "\x40" + iv.GetLeftPosition() + "@" + iv.GetTopPosition() + "\x40" + iv.IsMinimized();
            this.O2b(iv.Id, o2b);
        }
    },
    I1g: function() {

        function l2b(iv) {
            var array = i17.split("\x40");
            if (array.length > 1) {
                if ("\164\x72\x75e" == array[0] && !iv.IsVisible()) iv.Show();
                window.setTimeout(function() {
                    if (parseInt(array[1]) > 0) iv.SetWidth(array[1]);
                    if (parseInt(array[2]) > 0) iv.SetHeight(array[2]);
                    iv.MoveTo(array[3], array[4]);
                    if ("true" == array[5]) {
                        iv.Minimize();
                    }
                }, 1);
            }
        }

        ;
        var o18 = RadWindowNamespace.i1g;
        var Oh = GetRadWindowManager();
        var O1f = Oh.GetWindowObjects();
        for (i = 0; i < O1f.length; i++) {
            var iv = O1f[i];
            var i17 = o18.i2b(iv.Id);
            if (i17) {
                l2b(iv);
            }
        }
    },
    I2b: function() {
        var o2c = "Ra\x64WindowCook\x69\x65";
        var O2c = document.cookie.split("\x3b ");
        for (var i = 0; i < O2c.length; i++) {
            var l2c = O2c[i].split("\075");
            if (o2c == l2c[0]) return l2c[1];
        }
        return null;
    },
    O2b: function(o2c, i2c) {
        o2c = "[" + o2c + "\x5d";
        var I2c = this.I2b();
        var o2d = "";
        var O2d = "";
        if (I2c) {
            var array = I2c.split(o2c);
            if (array && array.length > 1) {
                o2d = array[0];
                O2d = array[1].substr(array[1].indexOf("\x23") + 1);
            } else O2d = I2c;
        }
        var l2d = new Date();
        l2d.setFullYear(l2d.getFullYear() + 10);
        document.cookie = "RadW\x69\x6edowCo\x6f\x6bie" + "=" + (o2d + o2c + "-" + i2c + "\043" + O2d) + "\x3bpath=/\x3b\x65xpi\x72\x65s=" + l2d.toUTCString() + ";";
    },
    i2b: function(o2c) {
        var i2d = this.I2b();
        if (!i2d) return;
        var i2c = null;
        o2c = "[" + o2c + "]";
        var index = i2d.indexOf(o2c);
        if (index >= 0) {
            var o14 = index + o2c.length + 1;
            i2c = i2d.substring(o14, i2d.indexOf("#", o14));
        }
        return i2c;
    }
};
;
RadWindowNamespace.I2d = 5;
RadWindowNamespace.o2e = 5;
RadWindowNamespace.v = {
    O2e: true,
    l2e: function() {
        if (this.i2e) return;
        else this.i2e = true;
        this.I2e = ["\x6e\x77-resize", "n-r\x65\x73ize", "\x6ee-resize", "\x77\x2dresize", "e-\x72\x65size", "sw-resi\x7a\x65", "\x73\x2dresize", "\x73\145-\x72\x65size"];
        var o2f = [];
        o2f[0] = this.rows[0].cells[0];
        o2f[1] = this.rows[0].cells[1].getElementsByTagName("\x44IV")[0];
        o2f[2] = this.rows[0].cells[this.rows[0].cells.length - 1];
        var O2f = this.rows[1].getElementsByTagName("\x54ABLE")[0].rows[0];
        o2f[3] = O2f.cells[0];
        o2f[4] = O2f.cells[2];
        var l2f = this.rows[this.rows.length - 1].getElementsByTagName("\x54ABLE")[0].rows[0];
        o2f[5] = l2f.cells[0];
        o2f[6] = l2f.cells[1];
        o2f[7] = l2f.cells[2];
        for (var i = 0; i < o2f.length; i++) {
            I = o2f[i];
            if (I) {
                I.style.cursor = this.I2e[i];
            }
        }
        ;
        this.i2f = o2f;
    },
    I2f: function(o2g, propertyName, O2g) {
        if (o2g.ownerDocument.defaultView && o2g.ownerDocument.defaultView.getComputedStyle) {
            try {
                return o2g.ownerDocument.defaultView.getComputedStyle(o2g, O2g || null)[propertyName];
            } catch(l2g) {
            }
            ;
        } else if (o2g && o2g.currentStyle) {
            return o2g.currentStyle[propertyName];
        }
        return null;
    },
    i2g: function(F, I2g, o2h) {
        if (!this.O2e) return "";
        var O2h = F.srcElement ? F.srcElement : F.target;
        this.l2e();
        var l2h = this.i2h;
        this.i2h = "";
        var l2h = this.I2f(O2h, "\x63ur\x73\x6fr");
        if (!l2h || l2h == "default") l2h = "";
        return l2h;
    },
    L: function(F, I2g, o2h) {
        if (this.tagName == "\x54\x41BLE") {
            return this.i2g(F, I2g, o2h);
        }
        if (!this.O2e) return "";
        var O2h = F.srcElement ? F.srcElement : F.target;
        if (O2h != this) return "";
        var O1 = this.l0();
        var I2h = "";
        if (null == I2g) I2g = RadWindowNamespace.I2d;
        if (null == o2h) o2h = RadWindowNamespace.o2e;
        var offsetX, offsetY;
        if (null != F.offsetY) {
            offsetX = F.offsetX;
            offsetY = F.offsetY;
        } else if (null != F.layerY) {
            offsetX = F.layerX;
            offsetY = F.layerY;
        }
        if (offsetY <= o2h && this.o2i) {
            I2h += "n";
        } else if ((O1.height - offsetY) <= o2h && this.O2i) {
            I2h += "s";
        }
        if (offsetX <= I2g && this.l2i) {
            I2h += "w";
        } else if ((O1.width - offsetX) <= I2g && this.i2i) {
            I2h += "\x65";
        }
        return ("" != I2h ? (I2h + "-re\x73\x69ze") : "");
    },
    O2: function(F) {
        var I2 = F.clientX - this.D;
        var o3 = F.clientY - this.d;
        this.style.cursor = this.r;
        switch (this.r) {
        case "\x6e-resize":
            this.o6(0, o3, null, null);
            break;
        case "s\x2d\x72esize":
            this.o6(0, 0, 0, o3);
            break;
        case "w-r\x65\x73ize":
            this.o6(I2, 0, null, null);
            break;
        case "e-resize":
            this.o6(0, 0, I2, 0);
            break;
        case "\x6ee-resiz\x65":
            this.o6(0, o3, I2, null);
            break;
        case "nw-resize":
            this.o6(I2, o3, null, null);
            break;
        case "se-resize":
            this.o6(0, 0, I2, o3);
            break;
        case "\x73\167-\x72\x65size":
            this.o6(I2, 0, null, o3);
            break;
        default:
            break;
        }
    },
    o6: function(offsetLeft, offsetTop, offsetWidth, offsetHeight) {
        var O1 = this.l0();
        var top = O1.top + offsetTop;
        var left = O1.left + offsetLeft;
        if (top < 0) {
            offsetTop = -O1.top;
        }
        if (left < 0) {
            offsetLeft = -O1.left;
        }
        top = O1.top + offsetTop;
        left = O1.left + offsetLeft;
        if (null == offsetWidth) offsetWidth = -offsetLeft;
        if (null == offsetHeight) offsetHeight = -offsetTop;
        var width = O1.width + offsetWidth;
        var height = O1.height + offsetHeight;
        width = Math.max(this.I2i, width);
        width = Math.min(this.o2j, width);
        height = Math.max(this.O2j, height);
        height = Math.min(this.l2j, height);
        var i2j = (this.o0 ? this.o0 : this);
        if (O1.width != width && width > 5) {
            i2j.O3(offsetLeft, 0);
            i2j.SetSize(width, null);
        }
        if (O1.height != height && height > 5) {
            i2j.O3(0, offsetTop);
            i2j.SetSize(null, height);
        }
    },
    O6: function(I2j) {
        this.o2i = (-1 != I2j.indexOf("\x6e"));
        this.O2i = (-1 != I2j.indexOf("\x73"));
        this.i2i = (-1 != I2j.indexOf("\x65"));
        this.l2i = (-1 != I2j.indexOf("\x77"));
    },
    T: function() {
        var I2j = this.getAttribute("\x72esize");
        if ("str\x69\x6eg" == typeof(I2j)) {
            I2j = I2j.toLowerCase();
        } else {
            I2j = "\x6esew";
        }
        this.O6(I2j);
        this.I2i = RadWindowNamespace.o2k(this.getAttribute("\x6d\x69nWidth"));
        this.o2j = RadWindowNamespace.o2k(this.getAttribute("\x6daxWidth"), 100000);
        this.O2j = RadWindowNamespace.o2k(this.getAttribute("\x6d\151n\x48\x65igh\x74"));
        this.l2j = RadWindowNamespace.o2k(this.getAttribute("\x6d\x61xHeig\x68\x74"), 100000);
    }
};
;
if (typeof(Sys) != "undefined") {
    if (Sys.Application != null && Sys.Application.notifyScriptLoaded != null) {
        Sys.Application.notifyScriptLoaded();
    }
}